WIP: Fixed minor UI issues.
"Confirm swap" background was white but should have been blue. SwapWorkflowActivity now extends ActionBarActivity instead of FragmentActivity so older devices have an action bar (though it is not styled with blue action buttons on android-10 devices).
This commit is contained in:
parent
d9f91da9a6
commit
f9bcf33d50
@ -5,6 +5,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/swap_blue"
|
||||||
android:padding="18dp">
|
android:padding="18dp">
|
||||||
<!-- Padding is 32px * 0.56 = 18dip -->
|
<!-- Padding is 32px * 0.56 = 18dip -->
|
||||||
|
|
||||||
|
@ -153,8 +153,6 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="SwapTheme.Wizard.ReceiveSwap" parent="SwapTheme.Wizard">
|
<style name="SwapTheme.Wizard.ReceiveSwap" parent="SwapTheme.Wizard">
|
||||||
<item name="android:windowNoTitle">true</item>
|
|
||||||
<item name="android:windowFullscreen">true</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -10,6 +10,7 @@ import android.os.Bundle;
|
|||||||
import android.support.annotation.LayoutRes;
|
import android.support.annotation.LayoutRes;
|
||||||
import android.support.annotation.NonNull;
|
import android.support.annotation.NonNull;
|
||||||
import android.support.v4.app.FragmentActivity;
|
import android.support.v4.app.FragmentActivity;
|
||||||
|
import android.support.v7.app.ActionBarActivity;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuInflater;
|
import android.view.MenuInflater;
|
||||||
@ -32,7 +33,7 @@ import org.fdroid.fdroid.localrepo.SwapManager;
|
|||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
public class SwapWorkflowActivity extends FragmentActivity {
|
public class SwapWorkflowActivity extends ActionBarActivity {
|
||||||
|
|
||||||
private ViewGroup container;
|
private ViewGroup container;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user