]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/main_framelayout.xml
Fix closing of tabs.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / main_framelayout.xml
index 070eb559e53700fb724658c8f62ccf46fe74fd8f..a1e0e094921168ac715fde2303bb964c64ee547f 100644 (file)
                                 android:layout_width="wrap_content"
                                 app:tabMode="scrollable" />
 
+                            <!-- `style="?android:borderlessButtonStyle"` shows a visual indication when the image view is tapped. -->
                             <ImageView
                                 android:layout_height="wrap_content"
                                 android:layout_width="wrap_content"
                                 android:layout_gravity="center_vertical"
-                                android:paddingStart="15dp"
-                                android:paddingEnd="15dp"
                                 android:src="@drawable/add_light"
                                 android:tint="?attr/addTabIconTintColor"
                                 android:onClick="addTab"
-                                android:contentDescription="@string/add_tab" />
+                                android:contentDescription="@string/add_tab"
+                                style="?android:attr/borderlessButtonStyle" />
                         </LinearLayout>
                     </HorizontalScrollView>