Skip to content

Commit

Permalink
Fixed Inconsistent Layout's missing id lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Oct 31, 2023
1 parent e060e2f commit f8977e6
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/res/layout/administrator_controls_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
android:id="@+id/administrator_controls_fragment_placeholder"
android:layout_width="match_parent"
android:layout_height="match_parent" />

<FrameLayout
android:id="@+id/administrator_controls_fragment_multipane_placeholder"
android:layout_width="0dp"
android:layout_height="0dp" />
</LinearLayout>

<fragment
Expand Down
23 changes: 23 additions & 0 deletions app/src/main/res/layout/help_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,29 @@
android:layout_height="match_parent"
android:background="@color/component_color_shared_screen_tertiary_background_color" />

<ImageButton
android:id="@+id/help_multipane_options_back_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:background="@color/component_color_shared_transparent_background_color"
android:contentDescription="@string/help_activity_back_arrow_description"
android:padding="12dp"
android:tint="@color/component_color_shared_multipane_icon_color"
android:visibility="gone"
app:srcCompat="@drawable/ic_arrow_back_black_24_dp" />

<TextView
android:id="@+id/help_multipane_options_title_textview"
style="@style/Heading3ViewCenterVertical"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="@color/component_color_shared_primary_text_color" />

<FrameLayout
android:id="@+id/multipane_options_container"
android:layout_width="0dp"
android:layout_height="0dp" />

<View
android:id="@+id/help_activity_toolbar_shadow_view"
android:layout_width="match_parent"
Expand Down
13 changes: 13 additions & 0 deletions app/src/main/res/layout/option_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />

<TextView
android:id="@+id/options_activity_selected_options_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-medium"
android:textColor="@color/component_color_shared_primary_text_color"
android:textSize="18sp" />

<FrameLayout
android:id="@+id/multipane_options_container"
android:layout_width="0dp"
android:layout_height="0dp" />

<View
android:layout_width="match_parent"
android:layout_height="6dp"
Expand Down
13 changes: 13 additions & 0 deletions app/src/main/res/layout/options_without_drawer_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />

<TextView
android:id="@+id/options_activity_selected_options_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-medium"
android:textColor="@color/component_color_shared_primary_text_color"
android:textSize="18sp" />

<FrameLayout
android:id="@+id/multipane_options_container"
android:layout_width="0dp"
android:layout_height="0dp" />

<View
android:layout_width="match_parent"
android:layout_height="6dp"
Expand Down

0 comments on commit f8977e6

Please sign in to comment.