summaryrefslogtreecommitdiff
path: root/src/plugins/android.codeutils/templates/activity_samples/quickaction/quick_action_item.xml
blob: a311bd840ea273e96fa058333e21ebcc548111ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical" 
    android:background="@android:drawable/btn_default"
    android:layout_marginLeft="2dp"
    android:clickable="true"
    >

    <TextView
        android:id="@+id/action_name"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
         />

    <ImageView
        android:id="@+id/action_image"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center_horizontal"
         />

</LinearLayout>