Share feature and some refactor to easily manage source code files

This commit is contained in:
M M Arif
2020-03-17 00:28:03 +05:00
parent c2e80199ca
commit 79bd96f6a2
28 changed files with 134 additions and 57 deletions

View File

@ -10,7 +10,7 @@
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="400dp">
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
@ -83,7 +83,7 @@
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginStart="64dp"
android:background="?attr/inputBackgroundColor" />
android:background="?attr/dividerColor" />
<TextView
android:id="@+id/addCollaborator"
@ -151,7 +151,19 @@
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginStart="64dp"
android:background="?attr/inputBackgroundColor" />
android:background="?attr/dividerColor" />
<TextView
android:id="@+id/shareRepository"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:drawableStart="@drawable/ic_share_24dp"
android:drawablePadding="24dp"
android:padding="16dp"
android:text="@string/shareRepository"
android:textColor="?attr/primaryTextColor"
android:textSize="16sp" />
<TextView
android:id="@+id/openWebRepo"

View File

@ -10,7 +10,7 @@
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="400dp">
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
@ -96,7 +96,19 @@
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginStart="64dp"
android:background="?attr/inputBackgroundColor" />
android:background="?attr/dividerColor" />
<TextView
android:id="@+id/shareIssue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:drawableStart="@drawable/ic_share_24dp"
android:drawablePadding="24dp"
android:padding="16dp"
android:text="@string/shareIssue"
android:textColor="?attr/primaryTextColor"
android:textSize="16sp" />
<TextView
android:id="@+id/copyIssueUrl"
@ -116,7 +128,7 @@
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginStart="64dp"
android:background="?attr/inputBackgroundColor" />
android:background="?attr/dividerColor" />
<TextView
android:id="@+id/closeIssue"

View File

@ -66,7 +66,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="16dp"
android:background="@color/divider" />
android:background="@color/dividerColor" />
</LinearLayout>

View File

@ -96,6 +96,6 @@
android:layout_height="1dp"
android:id="@+id/divider"
android:layout_marginTop="15dp"
android:background="?attr/inputBackgroundColor" />
android:background="?attr/dividerColor" />
</RelativeLayout>