256 lines
10 KiB
XML
256 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/item_toolbar" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressbarLoading"
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="10dp"
|
|
android:progressTint="@color/bg_primary_blue_dark"
|
|
android:visibility="gone"
|
|
android:indeterminate="false"
|
|
android:max="100"
|
|
android:progress="1"
|
|
tools:ignore="UnusedAttribute" />
|
|
<FrameLayout
|
|
android:id="@+id/framelayout_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
<WebView
|
|
android:id="@+id/webView_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="invisible" />
|
|
<include layout="@layout/view_loading"/>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/dashboard"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true"
|
|
android:stackFromBottom="true"
|
|
android:transcriptMode="alwaysScroll"
|
|
android:visibility="visible">
|
|
<RelativeLayout
|
|
android:id="@+id/dashLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#203140"
|
|
android:gravity="center_horizontal">
|
|
|
|
|
|
|
|
<ImageButton
|
|
android:id="@+id/logo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="30dp"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:src="@drawable/logo"
|
|
android:contentDescription="@string/logo" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:id="@+id/group1"
|
|
android:layout_below="@+id/logo">
|
|
<Button
|
|
android:id="@+id/MailBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#ffffff"
|
|
android:text="@string/action_mail"
|
|
android:drawableTop="@drawable/ic_mail"/>
|
|
|
|
<Button
|
|
android:id="@+id/CloudBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_cloud"
|
|
android:text="@string/action_cloud"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/DiasporaBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_diaspora"
|
|
android:text="@string/action_diaspora"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/ForumBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_forum"
|
|
android:text="@string/action_forum"
|
|
android:textColor="#ffffff" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:id="@+id/group2"
|
|
android:layout_below="@+id/group1">
|
|
<Button
|
|
android:id="@+id/ChatBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_chat"
|
|
android:text="@string/action_chat"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/PadBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_pad"
|
|
android:text="@string/action_pad"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/CalcBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_calc"
|
|
android:text="@string/action_calc"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/BinBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_bin"
|
|
android:text="@string/action_bin"
|
|
android:textColor="#ffffff" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:id="@+id/group3"
|
|
android:layout_below="@+id/group2">
|
|
|
|
<Button
|
|
android:id="@+id/UploadBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_upload"
|
|
android:text="@string/action_upload"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/SearxBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_searx"
|
|
android:text="@string/action_searx"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/PollsBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_poll"
|
|
android:text="@string/action_poll"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/BoardBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableTop="@drawable/ic_board"
|
|
android:text="@string/action_board"
|
|
android:textColor="#ffffff" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:id="@+id/group4"
|
|
android:layout_below="@+id/group3">
|
|
<Button
|
|
android:id="@+id/NotesBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="24dp"
|
|
android:drawableTop="@drawable/ic_notes"
|
|
android:text="@string/action_notes"
|
|
android:textColor="#ffffff" />
|
|
<Button
|
|
android:id="@+id/UserBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="24dp"
|
|
android:drawableTop="@drawable/ic_user"
|
|
android:text="@string/action_user"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/StateBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="24dp"
|
|
android:drawableTop="@drawable/ic_state"
|
|
android:text="@string/action_state"
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
android:id="@+id/HowtoBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="24dp"
|
|
android:drawableTop="@drawable/ic_howto"
|
|
android:text="@string/action_howto"
|
|
android:textColor="#ffffff" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/group5"
|
|
android:layout_below="@+id/group4"><!-- android:gravity="center_horizontal" -->
|
|
<Button
|
|
android:id="@+id/AboudBtn"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="24dp"
|
|
android:drawableTop="@drawable/ic_about"
|
|
android:text="@string/action_about"
|
|
android:textColor="#ffffff" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</ScrollView>
|
|
</FrameLayout>
|
|
</LinearLayout> |