]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/main_framelayout.xml
Make SSL errors tab aware.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / main_framelayout.xml
index 070eb559e53700fb724658c8f62ccf46fe74fd8f..3057c9220f4c7f82817ce313b662b3d19d251dbe 100644 (file)
                                 android:id="@+id/tablayout"
                                 android:layout_height="wrap_content"
                                 android:layout_width="wrap_content"
+                                app:tabIndicatorGravity="top"
                                 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>