mirror of
https://github.com/cwinfo/envayasms.git
synced 2025-06-26 02:39:23 +00:00
improve ForwardInbox with help from http://www.marvinlabs.com/2010/10/custom-listview-ability-check-items/
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawSelectorOnTop="false"/>
|
||||
android:choiceMode="multipleChoice" />
|
||||
<Button
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -1,31 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<org.envaya.kalsms.CheckableRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="6sp"
|
||||
android:background="#cccccc">
|
||||
<CheckBox android:id="@+id/inbox_checkbox"
|
||||
android:background="#cccccc">
|
||||
<org.envaya.kalsms.InertCheckBox android:id="@+id/inbox_checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="false"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/inbox_address"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/inbox_checkbox"
|
||||
android:layout_alignTop="@id/inbox_checkbox"
|
||||
android:textColor="#333333"
|
||||
android:layout_marginTop="4sp"
|
||||
android:layout_marginLeft="6sp"
|
||||
android:focusable="false"
|
||||
android:textSize="14sp"></TextView>
|
||||
<TextView
|
||||
android:id="@+id/inbox_body"
|
||||
android:layout_below="@id/inbox_address"
|
||||
android:layout_alignLeft="@id/inbox_address"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#666666"
|
||||
android:layout_marginLeft="6sp"
|
||||
android:layout_marginBottom="6sp"
|
||||
android:focusable="false"
|
||||
android:paddingBottom="6sp"
|
||||
android:textSize="14sp"></TextView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</org.envaya.kalsms.CheckableRelativeLayout>
|
Reference in New Issue
Block a user