Merge branch 'layout_fixes' into 'develop'
Layout changes See merge request tom79/nitterizeme!63
This commit is contained in:
commit
d892634ad6
|
@ -235,6 +235,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
bibliogram_current_group.setVisibility(bibliogram_enabled ? View.VISIBLE : View.GONE);
|
||||
osm_current_group.setVisibility((osm_enabled && geouri_enabled) ? View.VISIBLE : View.GONE);
|
||||
enable_geo_uris.setVisibility(osm_enabled ? View.VISIBLE : View.GONE);
|
||||
enable_embed_player.setVisibility(invidious_enabled ? View.VISIBLE : View.GONE);
|
||||
|
||||
enable_invidious.setOnCheckedChangeListener((buttonView, isChecked) -> {
|
||||
SharedPreferences.Editor editor = sharedpreferences.edit();
|
||||
|
@ -242,6 +243,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
editor.apply();
|
||||
invidious_current_group.setVisibility(isChecked ? View.VISIBLE : View.GONE);
|
||||
invidious_custom_group.setVisibility(View.GONE);
|
||||
enable_embed_player.setVisibility(isChecked ? View.VISIBLE : View.GONE);
|
||||
expand_instance_invidious.setRotation(0);
|
||||
});
|
||||
enable_nitter.setOnCheckedChangeListener((buttonView, isChecked) -> {
|
||||
|
|
|
@ -309,9 +309,10 @@
|
|||
android:id="@+id/enable_embed_player"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="@string/use_built_in_player"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/barrier_invidious_2" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
|
@ -609,9 +610,10 @@
|
|||
android:id="@+id/enable_geo_uris"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="@string/use_geo_uri"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/barrier_osm_2" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
|
|
Loading…
Reference in New Issue