Replacing bottom sheet item by floating action button. (#360)
Merge branch 'fab-button-issues' of https://gitea.com/opyale/GitNex into fab-button-issues Merge remote-tracking branch 'remotes/main/master' into fab-button-issues Merge branch 'master' into fab-button-issues Adding onScrollListener. Reply icon Generalizing padding of floating action button. Merge branch 'master' into fab-button-issues Improving proportions. Replacing bottom sheet item by floating action button and cleaning up code. Co-authored-by: opyale <example@example.com> Co-authored-by: anonTree1417 <example@example.com> Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/360 Reviewed-by: M M Arif <mmarif@swatian.com>
This commit is contained in:
@ -212,6 +212,19 @@
|
||||
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/addNewComment"
|
||||
android:src="@drawable/ic_reply"
|
||||
android:tint="@color/white"
|
||||
android:layout_width="54dp"
|
||||
android:layout_height="54dp"
|
||||
android:layout_margin="15dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/circle"
|
||||
android:padding="@dimen/fab_padding"
|
||||
android:contentDescription="@string/addNewContent" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
@ -30,18 +30,6 @@
|
||||
android:visibility="gone"
|
||||
android:padding="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/replyToIssue"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="@string/replyToIssue"
|
||||
android:drawableStart="@drawable/ic_reply"
|
||||
android:drawablePadding="24dp"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:textSize="16sp"
|
||||
android:padding="16dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mergePullRequest"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -50,7 +50,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/circle"
|
||||
android:padding="12dp"
|
||||
android:padding="@dimen/fab_padding"
|
||||
android:visibility="gone"
|
||||
android:contentDescription="@string/addNewContent" />
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/circle"
|
||||
android:padding="12dp"
|
||||
android:padding="@dimen/fab_padding"
|
||||
android:contentDescription="@string/addNewContent" />
|
||||
|
||||
<TextView
|
||||
|
@ -36,7 +36,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/circle"
|
||||
android:padding="12dp"
|
||||
android:padding="@dimen/fab_padding"
|
||||
android:contentDescription="@string/addNewContent" />
|
||||
|
||||
<TextView
|
||||
|
@ -49,7 +49,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/circle"
|
||||
android:padding="12dp"
|
||||
android:padding="@dimen/fab_padding"
|
||||
android:contentDescription="@string/addNewContent" />
|
||||
|
||||
</RelativeLayout>
|
@ -49,7 +49,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/circle"
|
||||
android:padding="12dp"
|
||||
android:padding="@dimen/fab_padding"
|
||||
android:contentDescription="@string/addNewContent" />
|
||||
|
||||
</RelativeLayout>
|
@ -6,5 +6,6 @@
|
||||
|
||||
<dimen name="tooltipCornor">5dp</dimen>
|
||||
<dimen name="fab_margin">16dp</dimen>
|
||||
<dimen name="fab_padding">15dp</dimen>
|
||||
<dimen name="appbar_padding_top">8dp</dimen>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user