summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/f_drawer_main.xml
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2018-03-06 10:08:49 -0800
committercyberta <cyberta@riseup.net>2018-03-06 10:08:49 -0800
commita95567b4bbb2319636a79cc5e8d6a7921df9f4d1 (patch)
tree7d5c7c36b141aa98e909f6b99baed769de5cf923 /app/src/main/res/layout/f_drawer_main.xml
parentfda23fc8c5aa916bce4ce985fcdf0aa08b21f1e6 (diff)
parent54e95a61bc553d985f6c55823da20985b6103aa0 (diff)
Merge branch 'cleanup' into 'master'
cleanup - rename layout files See merge request leap/bitmask_android!64
Diffstat (limited to 'app/src/main/res/layout/f_drawer_main.xml')
-rw-r--r--app/src/main/res/layout/f_drawer_main.xml69
1 files changed, 69 insertions, 0 deletions
diff --git a/app/src/main/res/layout/f_drawer_main.xml b/app/src/main/res/layout/f_drawer_main.xml
new file mode 100644
index 00000000..54614f3f
--- /dev/null
+++ b/app/src/main/res/layout/f_drawer_main.xml
@@ -0,0 +1,69 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:background="@color/colorBackground"
+ tools:context="se.leap.bitmaskclient.drawer.NavigationDrawerFragment"
+ android:clickable="true"
+ android:focusable="true">
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <android.support.v7.widget.AppCompatImageView
+ android:id="@+id/background"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:adjustViewBounds="false"
+ android:cropToPadding="false"
+ android:scaleType="fitXY"
+ app:srcCompat="@drawable/ic_colorsquare" />
+
+ <android.support.v7.widget.AppCompatImageView
+ android:id="@+id/mask"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:srcCompat="@drawable/mask" />
+ </FrameLayout>
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <ListView
+ android:id="@+id/accountList"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:isScrollContainer="false"
+ />
+
+ <View
+ android:id="@+id/divider"
+ android:layout_below="@id/accountList"
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@android:color/darker_gray"
+ />
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignTop="@id/divider"
+ android:layout_alignParentBottom="true"
+ >
+ <ListView
+ android:id="@+id/settingsList"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ />
+ </FrameLayout>
+
+
+
+ </RelativeLayout>
+
+</LinearLayout> \ No newline at end of file