stk_menu_item.xml 1.53 KB
Newer Older
1 2 3 4 5 6
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
Wink Saville's avatar
Wink Saville committed
7

8
          http://www.apache.org/licenses/LICENSE-2.0
Wink Saville's avatar
Wink Saville committed
9

10 11 12 13 14 15 16
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

Wink Saville's avatar
Wink Saville committed
17

18
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 20
	android:layout_width="match_parent"
	android:layout_height="match_parent"
21 22 23 24 25 26 27 28 29 30 31 32
	android:gravity="center"
	android:orientation="horizontal">

	<ImageView
	    android:id="@+id/icon"
        android:scaleType="fitCenter"
        android:layout_width="@android:dimen/app_icon_size"
        android:layout_height="@android:dimen/app_icon_size"
        android:layout_gravity="center_vertical"
        android:layout_marginLeft="5dip"
    />

Wink Saville's avatar
Wink Saville committed
33
	<TextView
34
	    android:id="@+id/text"
35
	    android:layout_width="match_parent"
36 37 38 39 40 41 42 43 44
        android:layout_height="wrap_content"
        android:maxLength="234"
        android:minHeight="?android:attr/listPreferredItemHeight"
	    android:textAppearance="?android:attr/textAppearanceLarge"
	    android:gravity="center_vertical"
	    android:layout_marginLeft="9dip"
	/>

</LinearLayout>