mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Adjusted design of ecosystem app buttons
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
This commit is contained in:
parent
56b512ba45
commit
de858ca7a1
2 changed files with 27 additions and 29 deletions
|
@ -23,17 +23,19 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:background="@color/primary"
|
||||
android:fitsSystemWindows="true"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/drawer_header_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="96dp"
|
||||
android:background="@color/primary"
|
||||
android:gravity="center"
|
||||
android:padding="@dimen/standard_padding">
|
||||
android:paddingHorizontal="@dimen/standard_padding"
|
||||
android:paddingTop="@dimen/standard_padding"
|
||||
android:paddingBottom="@dimen/standard_half_padding">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/drawer_header_logo"
|
||||
|
@ -66,11 +68,11 @@
|
|||
android:id="@+id/drawer_ecosystem_apps"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/standard_half_margin"
|
||||
android:layout_marginBottom="@dimen/standard_half_margin"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/drawer_ecosystem_notes"
|
||||
android:id="@+id/drawer_ecosystem_talk"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?android:selectableItemBackgroundBorderless"
|
||||
|
@ -83,24 +85,23 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:contentDescription="@string/ecosystem_apps_notes"
|
||||
app:icon="@drawable/ic_notes"
|
||||
app:iconTint="@color/primary"
|
||||
app:strokeColor="@color/primary" />
|
||||
android:contentDescription="@string/ecosystem_apps_talk"
|
||||
app:icon="@drawable/ic_talk"
|
||||
app:iconTint="@color/white"
|
||||
app:strokeColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="Notes"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/primary"
|
||||
android:text="@string/ecosystem_apps_display_talk"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/drawer_ecosystem_talk"
|
||||
android:id="@+id/drawer_ecosystem_notes"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/standard_double_margin"
|
||||
|
@ -114,18 +115,17 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:contentDescription="@string/ecosystem_apps_talk"
|
||||
app:icon="@drawable/ic_talk"
|
||||
app:iconTint="@color/primary"
|
||||
app:strokeColor="@color/primary" />
|
||||
android:contentDescription="@string/ecosystem_apps_notes"
|
||||
app:icon="@drawable/ic_notes"
|
||||
app:iconTint="@color/white"
|
||||
app:strokeColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="Talk"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/primary"
|
||||
android:text="@string/ecosystem_apps_display_notes"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -146,24 +146,19 @@
|
|||
android:clickable="false"
|
||||
android:contentDescription="@string/ecosystem_apps_more"
|
||||
app:icon="@drawable/ic_more_apps"
|
||||
app:iconTint="@color/primary"
|
||||
app:strokeColor="@color/primary" />
|
||||
app:iconTint="@color/white"
|
||||
app:strokeColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="More"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/primary"
|
||||
android:text="@string/ecosystem_apps_display_more"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<com.google.android.material.divider.MaterialDivider
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
|
@ -1091,4 +1091,7 @@
|
|||
<string name="ecosystem_apps_notes">Nextcloud Notes</string>
|
||||
<string name="ecosystem_apps_talk">Nextcloud Talk</string>
|
||||
<string name="ecosystem_apps_more">More Nextcloud Apps</string>
|
||||
<string name="ecosystem_apps_display_notes">Notes</string>
|
||||
<string name="ecosystem_apps_display_talk">Talk</string>
|
||||
<string name="ecosystem_apps_display_more">More</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue