mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-11 03:55:04 -05:00
622155a57a
right now we toggle per row. next up is toggle all at once
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="30dip"
|
|
android:layout_height="30dip"
|
|
>
|
|
<ImageButton
|
|
android:id="@+id/delete"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:focusable="true"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:src="@drawable/ic_delete"
|
|
/>
|
|
<CheckBox
|
|
android:id="@+id/flagged"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
style="?android:attr/starStyle"
|
|
android:layout_gravity="center_vertical"
|
|
/>
|
|
<!-- http://stackoverflow.com/questions/1121192/android-custom-listview-unable-to-click-on-items
|
|
we want something a bit bigger than it is right now -->
|
|
<CheckBox
|
|
android:id="@+id/selected_checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:focusable="false"
|
|
android:button="@drawable/checkbox"
|
|
android:text=""
|
|
/>
|
|
</LinearLayout>
|