Skip to content

Commit

Permalink
refactor: adjust for landscape
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Nov 18, 2023
1 parent e5a20c9 commit 0330b8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,9 @@
android:value="true" />
</service>

<!-- zxing for QR Code scanning: lock portrait orientation -->
<activity
android:name="com.journeyapps.barcodescanner.CaptureActivity"
android:screenOrientation="portrait"
android:screenOrientation="unspecified"
tools:replace="screenOrientation" />

<activity
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabGravity="fill"
app:tabIconTint="@color/tab_color_selector"
app:tabIndicatorColor="@color/selectedColor" />
</com.google.android.material.appbar.AppBarLayout>
Expand Down

0 comments on commit 0330b8f

Please sign in to comment.