155 lines
5.3 KiB
XML
155 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<LinearLayout
|
|
android:id="@+id/bottom_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:orientation="horizontal"
|
|
android:divider="?android:attr/dividerVertical"
|
|
android:showDividers="middle"
|
|
android:layout_alignParentBottom="true"
|
|
android:dividerPadding="12dp"
|
|
android:baselineAligned="false">
|
|
<FrameLayout
|
|
android:id="@+id/accept_button"
|
|
style="?android:attr/actionButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1">
|
|
<TextView
|
|
style="?android:actionBarTabTextStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:paddingRight="20dp"
|
|
android:drawablePadding="8dp"
|
|
android:drawableLeft="@drawable/baseline_check_24"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/accept" />
|
|
</FrameLayout>
|
|
<FrameLayout
|
|
android:id="@+id/deny_button"
|
|
style="?android:attr/actionButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1">
|
|
<TextView
|
|
style="?android:actionBarTabTextStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:paddingRight="20dp"
|
|
android:drawableLeft="@drawable/baseline_close_24"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/deny" />
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom_bar_scopes"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="56dp"
|
|
android:orientation="vertical"
|
|
android:divider="?android:attr/dividerVertical"
|
|
android:showDividers="middle"
|
|
android:layout_alignParentBottom="true"
|
|
android:dividerPadding="12dp"
|
|
android:baselineAligned="false">
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/scopes_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/plugin_scopes"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="18dp"
|
|
style="@style/ExtraFieldHeader" />
|
|
<LinearLayout android:id="@+id/scopes_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/plugin_scroll"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="12dp"
|
|
android:scrollbarStyle="insideOverlay">
|
|
<LinearLayout android:id="@+id/scopes_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp">
|
|
<ImageView
|
|
android:id="@+id/imgIcon"
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp" />
|
|
<TextView
|
|
android:id="@+id/txtLabel"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@id/imgIcon"
|
|
android:textSize="22dp"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/txtVersion"
|
|
android:text="0.9.3"
|
|
android:textSize="14dp"
|
|
android:textColor="#888888"
|
|
android:layout_toRightOf="@id/imgIcon"
|
|
android:layout_below="@id/txtLabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/txtAuthor"
|
|
android:text=""
|
|
android:textSize="14dp"
|
|
android:textColor="#888888"
|
|
android:layout_below="@id/txtVersion"
|
|
android:layout_toRightOf="@id/imgIcon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/txtPluginDescription"
|
|
android:text="@string/PluginDescription"
|
|
android:textSize="16dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/txtShortDesc"
|
|
android:text=""
|
|
android:textSize="14dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_enabled"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/plugin_enabled_checkbox"
|
|
android:checked="true"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</RelativeLayout> |