ImportKeys: Remove bottom toolbar
This commit is contained in:
@@ -25,7 +25,6 @@ import android.support.annotation.NonNull;
|
|||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
import android.support.v4.app.FragmentManager;
|
import android.support.v4.app.FragmentManager;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.View.OnClickListener;
|
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
|
||||||
import org.sufficientlysecure.keychain.Constants;
|
import org.sufficientlysecure.keychain.Constants;
|
||||||
@@ -94,12 +93,6 @@ public class ImportKeysActivity extends BaseActivity
|
|||||||
mFreshIntent = true;
|
mFreshIntent = true;
|
||||||
|
|
||||||
setFullScreenDialogClose(Activity.RESULT_CANCELED, true);
|
setFullScreenDialogClose(Activity.RESULT_CANCELED, true);
|
||||||
findViewById(R.id.import_import).setOnClickListener(new OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(View v) {
|
|
||||||
importSelectedKeys();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -47,35 +47,10 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1" />
|
||||||
|
|
||||||
<android.support.v7.widget.Toolbar
|
<RelativeLayout
|
||||||
android:id="@+id/import_footer"
|
android:id="@+id/import_snackbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="wrap_content"/>
|
||||||
android:background="?attr/colorPrimary"
|
|
||||||
android:elevation="4dp"
|
|
||||||
android:paddingLeft="8dp"
|
|
||||||
android:paddingRight="8dp"
|
|
||||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/import_import"
|
|
||||||
style="@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:drawablePadding="8dp"
|
|
||||||
android:drawableRight="@drawable/ic_file_download_white_24dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:text="@string/import_import"
|
|
||||||
android:textColor="#ffffffff" />
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/import_snackbar"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignBottom="@id/import_import" />
|
|
||||||
|
|
||||||
</android.support.v7.widget.Toolbar>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user