From 36da4186606fe635c7d3803d912a9081247d862e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 19 Nov 2013 23:56:48 -0500 Subject: [PATCH] add CheckBox to enable overwriting of existing repos when adding new ones The "Add" button is disabled until the user turns overwrite on. It should prevent accidental overwriting, but I imagine this could be handled better. --- res/layout/addrepo.xml | 26 ++++++++++++++++---------- res/values/strings.xml | 1 + src/org/fdroid/fdroid/ManageRepo.java | 15 ++++++++++++++- 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/res/layout/addrepo.xml b/res/layout/addrepo.xml index ac4936303..95882888e 100644 --- a/res/layout/addrepo.xml +++ b/res/layout/addrepo.xml @@ -4,17 +4,26 @@ android:layout_height="wrap_content" android:orientation="vertical" > + + @@ -22,7 +31,6 @@ -