|
|
|
|
@@ -1,63 +1,78 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
|
|
android:focusable="false">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/mainUserId"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/label_main_user_id"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_alignParentStart="true" />
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingBottom="4dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/mainUserIdRest"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="<user@example.com>"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
|
android:layout_below="@+id/mainUserId"
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_alignParentStart="true" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/mainUserId"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/label_main_user_id"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
style="@android:style/Widget.DeviceDefault.Button.Borderless.Small"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/edit"
|
|
|
|
|
android:focusable="false"
|
|
|
|
|
android:layout_alignTop="@+id/mainUserId"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_alignParentBottom="false"
|
|
|
|
|
android:layout_alignParentTop="false"
|
|
|
|
|
android:layout_alignBottom="@+id/mainUserIdRest"
|
|
|
|
|
android:visibility="visible"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:text="@string/edit" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/mainUserIdRest"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:text="user@example.com"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/revoked"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
|
android:text="@string/revoked"
|
|
|
|
|
android:textColor="#e00"
|
|
|
|
|
android:visibility="visible"
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_alignParentEnd="true" />
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="1dip"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:background="@android:color/darker_gray" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:background="@drawable/selector_transparent_button"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:id="@+id/edit"
|
|
|
|
|
android:focusable="false"
|
|
|
|
|
android:visibility="visible"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:text="@string/edit" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/revoked"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
|
android:text="@string/revoked"
|
|
|
|
|
android:textColor="#e00"
|
|
|
|
|
android:visibility="visible"
|
|
|
|
|
android:layout_gravity="center" />
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|