mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-22 06:10:56 +00:00
Removed subscription
This commit is contained in:
parent
d742348512
commit
e6e14fae7d
3 changed files with 36 additions and 181 deletions
|
@ -64,8 +64,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
private static final int SKU_SPEED_ID = 4;
|
private static final int SKU_SPEED_ID = 4;
|
||||||
private static final int SKU_THEME_ID = 5;
|
private static final int SKU_THEME_ID = 5;
|
||||||
private static final int SKU_PRO1_ID = 6;
|
private static final int SKU_PRO1_ID = 6;
|
||||||
private static final int SKU_SUPPORT1_ID = 7;
|
|
||||||
private static final int SKU_SUPPORT2_ID = 8;
|
|
||||||
|
|
||||||
public static final String SKU_LOG = "log";
|
public static final String SKU_LOG = "log";
|
||||||
public static final String SKU_FILTER = "filter";
|
public static final String SKU_FILTER = "filter";
|
||||||
|
@ -73,8 +71,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
public static final String SKU_SPEED = "speed";
|
public static final String SKU_SPEED = "speed";
|
||||||
public static final String SKU_THEME = "theme";
|
public static final String SKU_THEME = "theme";
|
||||||
public static final String SKU_PRO1 = "pro1";
|
public static final String SKU_PRO1 = "pro1";
|
||||||
public static final String SKU_SUPPORT1 = "support1";
|
|
||||||
public static final String SKU_SUPPORT2 = "support2";
|
|
||||||
public static final String SKU_DONATION = "donation";
|
public static final String SKU_DONATION = "donation";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -98,8 +94,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
TextView tvSpeedTitle = findViewById(R.id.tvSpeedTitle);
|
TextView tvSpeedTitle = findViewById(R.id.tvSpeedTitle);
|
||||||
TextView tvThemeTitle = findViewById(R.id.tvThemeTitle);
|
TextView tvThemeTitle = findViewById(R.id.tvThemeTitle);
|
||||||
TextView tvAllTitle = findViewById(R.id.tvAllTitle);
|
TextView tvAllTitle = findViewById(R.id.tvAllTitle);
|
||||||
TextView tvDev1Title = findViewById(R.id.tvDev1Title);
|
|
||||||
TextView tvDev2Title = findViewById(R.id.tvDev2Title);
|
|
||||||
|
|
||||||
tvLogTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
tvLogTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
tvFilterTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
tvFilterTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
|
@ -107,8 +101,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
tvSpeedTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
tvSpeedTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
tvThemeTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
tvThemeTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
tvAllTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
tvAllTitle.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
tvDev1Title.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
||||||
tvDev2Title.setPaintFlags(tvLogTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
||||||
|
|
||||||
View.OnClickListener listener = new View.OnClickListener() {
|
View.OnClickListener listener = new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -133,12 +125,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
case R.id.tvAllTitle:
|
case R.id.tvAllTitle:
|
||||||
sku = SKU_PRO1;
|
sku = SKU_PRO1;
|
||||||
break;
|
break;
|
||||||
case R.id.tvDev1Title:
|
|
||||||
sku = SKU_SUPPORT1;
|
|
||||||
break;
|
|
||||||
case R.id.tvDev2Title:
|
|
||||||
sku = SKU_SUPPORT2;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
sku = SKU_PRO1;
|
sku = SKU_PRO1;
|
||||||
break;
|
break;
|
||||||
|
@ -157,8 +143,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
tvSpeedTitle.setOnClickListener(listener);
|
tvSpeedTitle.setOnClickListener(listener);
|
||||||
tvThemeTitle.setOnClickListener(listener);
|
tvThemeTitle.setOnClickListener(listener);
|
||||||
tvAllTitle.setOnClickListener(listener);
|
tvAllTitle.setOnClickListener(listener);
|
||||||
tvDev1Title.setOnClickListener(listener);
|
|
||||||
tvDev2Title.setOnClickListener(listener);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
iab = new IAB(new IAB.Delegate() {
|
iab = new IAB(new IAB.Delegate() {
|
||||||
|
@ -175,8 +159,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
final Button btnSpeed = findViewById(R.id.btnSpeed);
|
final Button btnSpeed = findViewById(R.id.btnSpeed);
|
||||||
final Button btnTheme = findViewById(R.id.btnTheme);
|
final Button btnTheme = findViewById(R.id.btnTheme);
|
||||||
final Button btnAll = findViewById(R.id.btnAll);
|
final Button btnAll = findViewById(R.id.btnAll);
|
||||||
final Button btnDev1 = findViewById(R.id.btnDev1);
|
|
||||||
final Button btnDev2 = findViewById(R.id.btnDev2);
|
|
||||||
|
|
||||||
View.OnClickListener listener = new View.OnClickListener() {
|
View.OnClickListener listener = new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -202,12 +184,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
} else if (view == btnAll) {
|
} else if (view == btnAll) {
|
||||||
id = SKU_PRO1_ID;
|
id = SKU_PRO1_ID;
|
||||||
pi = iab.getBuyIntent(SKU_PRO1, false);
|
pi = iab.getBuyIntent(SKU_PRO1, false);
|
||||||
} else if (view == btnDev1) {
|
|
||||||
id = SKU_SUPPORT1_ID;
|
|
||||||
pi = iab.getBuyIntent(SKU_SUPPORT1, true);
|
|
||||||
} else if (view == btnDev2) {
|
|
||||||
id = SKU_SUPPORT2_ID;
|
|
||||||
pi = iab.getBuyIntent(SKU_SUPPORT2, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id > 0 && pi != null)
|
if (id > 0 && pi != null)
|
||||||
|
@ -224,8 +200,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
btnSpeed.setOnClickListener(listener);
|
btnSpeed.setOnClickListener(listener);
|
||||||
btnTheme.setOnClickListener(listener);
|
btnTheme.setOnClickListener(listener);
|
||||||
btnAll.setOnClickListener(listener);
|
btnAll.setOnClickListener(listener);
|
||||||
btnDev1.setOnClickListener(listener);
|
|
||||||
btnDev2.setOnClickListener(listener);
|
|
||||||
|
|
||||||
btnLog.setEnabled(true);
|
btnLog.setEnabled(true);
|
||||||
btnFilter.setEnabled(true);
|
btnFilter.setEnabled(true);
|
||||||
|
@ -233,8 +207,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
btnSpeed.setEnabled(true);
|
btnSpeed.setEnabled(true);
|
||||||
btnTheme.setEnabled(true);
|
btnTheme.setEnabled(true);
|
||||||
btnAll.setEnabled(true);
|
btnAll.setEnabled(true);
|
||||||
btnDev1.setEnabled(true);
|
|
||||||
btnDev2.setEnabled(true);
|
|
||||||
|
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Log.e(TAG, ex.toString() + "\n" + Log.getStackTraceString(ex));
|
Log.e(TAG, ex.toString() + "\n" + Log.getStackTraceString(ex));
|
||||||
|
@ -388,14 +360,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
IAB.setBought(SKU_PRO1, this);
|
IAB.setBought(SKU_PRO1, this);
|
||||||
updateState();
|
updateState();
|
||||||
break;
|
break;
|
||||||
case SKU_SUPPORT1_ID:
|
|
||||||
IAB.setBought(SKU_SUPPORT1, this);
|
|
||||||
updateState();
|
|
||||||
break;
|
|
||||||
case SKU_SUPPORT2_ID:
|
|
||||||
IAB.setBought(SKU_SUPPORT2, this);
|
|
||||||
updateState();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -407,16 +371,12 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
Button btnSpeed = findViewById(R.id.btnSpeed);
|
Button btnSpeed = findViewById(R.id.btnSpeed);
|
||||||
Button btnTheme = findViewById(R.id.btnTheme);
|
Button btnTheme = findViewById(R.id.btnTheme);
|
||||||
Button btnAll = findViewById(R.id.btnAll);
|
Button btnAll = findViewById(R.id.btnAll);
|
||||||
Button btnDev1 = findViewById(R.id.btnDev1);
|
|
||||||
Button btnDev2 = findViewById(R.id.btnDev2);
|
|
||||||
TextView tvLog = findViewById(R.id.tvLog);
|
TextView tvLog = findViewById(R.id.tvLog);
|
||||||
TextView tvFilter = findViewById(R.id.tvFilter);
|
TextView tvFilter = findViewById(R.id.tvFilter);
|
||||||
TextView tvNotify = findViewById(R.id.tvNotify);
|
TextView tvNotify = findViewById(R.id.tvNotify);
|
||||||
TextView tvSpeed = findViewById(R.id.tvSpeed);
|
TextView tvSpeed = findViewById(R.id.tvSpeed);
|
||||||
TextView tvTheme = findViewById(R.id.tvTheme);
|
TextView tvTheme = findViewById(R.id.tvTheme);
|
||||||
TextView tvAll = findViewById(R.id.tvAll);
|
TextView tvAll = findViewById(R.id.tvAll);
|
||||||
TextView tvDev1 = findViewById(R.id.tvDev1);
|
|
||||||
TextView tvDev2 = findViewById(R.id.tvDev2);
|
|
||||||
|
|
||||||
TextView tvLogUnavailable = findViewById(R.id.tvLogUnavailable);
|
TextView tvLogUnavailable = findViewById(R.id.tvLogUnavailable);
|
||||||
TextView tvFilterUnavailable = findViewById(R.id.tvFilterUnavailable);
|
TextView tvFilterUnavailable = findViewById(R.id.tvFilterUnavailable);
|
||||||
|
@ -429,8 +389,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
btnSpeed.setVisibility(IAB.isPurchased(SKU_SPEED, this) ? View.GONE : View.VISIBLE);
|
btnSpeed.setVisibility(IAB.isPurchased(SKU_SPEED, this) ? View.GONE : View.VISIBLE);
|
||||||
btnTheme.setVisibility(IAB.isPurchased(SKU_THEME, this) ? View.GONE : View.VISIBLE);
|
btnTheme.setVisibility(IAB.isPurchased(SKU_THEME, this) ? View.GONE : View.VISIBLE);
|
||||||
btnAll.setVisibility(IAB.isPurchased(SKU_PRO1, this) ? View.GONE : View.VISIBLE);
|
btnAll.setVisibility(IAB.isPurchased(SKU_PRO1, this) ? View.GONE : View.VISIBLE);
|
||||||
btnDev1.setVisibility(IAB.isPurchased(SKU_SUPPORT1, this) ? View.GONE : View.VISIBLE);
|
|
||||||
btnDev2.setVisibility(IAB.isPurchased(SKU_SUPPORT2, this) ? View.GONE : View.VISIBLE);
|
|
||||||
|
|
||||||
tvLog.setVisibility(IAB.isPurchased(SKU_LOG, this) && can ? View.VISIBLE : View.GONE);
|
tvLog.setVisibility(IAB.isPurchased(SKU_LOG, this) && can ? View.VISIBLE : View.GONE);
|
||||||
tvFilter.setVisibility(IAB.isPurchased(SKU_FILTER, this) && can ? View.VISIBLE : View.GONE);
|
tvFilter.setVisibility(IAB.isPurchased(SKU_FILTER, this) && can ? View.VISIBLE : View.GONE);
|
||||||
|
@ -438,8 +396,6 @@ public class ActivityPro extends AppCompatActivity {
|
||||||
tvSpeed.setVisibility(IAB.isPurchased(SKU_SPEED, this) ? View.VISIBLE : View.GONE);
|
tvSpeed.setVisibility(IAB.isPurchased(SKU_SPEED, this) ? View.VISIBLE : View.GONE);
|
||||||
tvTheme.setVisibility(IAB.isPurchased(SKU_THEME, this) ? View.VISIBLE : View.GONE);
|
tvTheme.setVisibility(IAB.isPurchased(SKU_THEME, this) ? View.VISIBLE : View.GONE);
|
||||||
tvAll.setVisibility(IAB.isPurchased(SKU_PRO1, this) ? View.VISIBLE : View.GONE);
|
tvAll.setVisibility(IAB.isPurchased(SKU_PRO1, this) ? View.VISIBLE : View.GONE);
|
||||||
tvDev1.setVisibility(IAB.isPurchased(SKU_SUPPORT1, this) ? View.VISIBLE : View.GONE);
|
|
||||||
tvDev2.setVisibility(IAB.isPurchased(SKU_SUPPORT2, this) ? View.VISIBLE : View.GONE);
|
|
||||||
|
|
||||||
tvLogUnavailable.setVisibility(can ? View.GONE : View.VISIBLE);
|
tvLogUnavailable.setVisibility(can ? View.GONE : View.VISIBLE);
|
||||||
tvFilterUnavailable.setVisibility(can ? View.GONE : View.VISIBLE);
|
tvFilterUnavailable.setVisibility(can ? View.GONE : View.VISIBLE);
|
||||||
|
|
|
@ -181,9 +181,6 @@ public class IAB implements ServiceConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
SharedPreferences prefs = context.getSharedPreferences("IAB", Context.MODE_PRIVATE);
|
SharedPreferences prefs = context.getSharedPreferences("IAB", Context.MODE_PRIVATE);
|
||||||
if (ActivityPro.SKU_SUPPORT1.equals(sku) || ActivityPro.SKU_SUPPORT2.equals(sku))
|
|
||||||
return prefs.getBoolean(sku, false);
|
|
||||||
|
|
||||||
return (prefs.getBoolean(sku, false) ||
|
return (prefs.getBoolean(sku, false) ||
|
||||||
prefs.getBoolean(ActivityPro.SKU_PRO1, false) ||
|
prefs.getBoolean(ActivityPro.SKU_PRO1, false) ||
|
||||||
prefs.getBoolean(ActivityPro.SKU_DONATION, false));
|
prefs.getBoolean(ActivityPro.SKU_DONATION, false));
|
||||||
|
|
|
@ -16,14 +16,14 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/title_pro_description"
|
android:text="@string/title_pro_description"
|
||||||
android:textAppearance="@style/TextMedium"/>
|
android:textAppearance="@style/TextMedium" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="2dip"
|
android:layout_height="2dip"
|
||||||
android:layout_marginBottom="8dip"
|
|
||||||
android:layout_marginTop="8dip"
|
android:layout_marginTop="8dip"
|
||||||
android:background="@android:color/darker_gray"/>
|
android:layout_marginBottom="8dip"
|
||||||
|
android:background="@android:color/darker_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_weight="2"
|
android:layout_weight="2"
|
||||||
android:text="@string/title_pro_log"
|
android:text="@string/title_pro_log"
|
||||||
android:textAppearance="@style/TextSmall"/>
|
android:textAppearance="@style/TextSmall" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnLog"
|
android:id="@+id/btnLog"
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:text="@string/title_pro_buy"
|
android:text="@string/title_pro_buy"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvLog"
|
android:id="@+id/tvLog"
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
android:text="@string/title_pro_bought"
|
android:text="@string/title_pro_bought"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvLogUnavailable"
|
android:id="@+id/tvLogUnavailable"
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
android:text="@string/title_pro_unavailable"
|
android:text="@string/title_pro_unavailable"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_weight="2"
|
android:layout_weight="2"
|
||||||
android:text="@string/title_pro_filter"
|
android:text="@string/title_pro_filter"
|
||||||
android:textAppearance="@style/TextSmall"/>
|
android:textAppearance="@style/TextSmall" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnFilter"
|
android:id="@+id/btnFilter"
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:text="@string/title_pro_buy"
|
android:text="@string/title_pro_buy"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvFilter"
|
android:id="@+id/tvFilter"
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
android:text="@string/title_pro_bought"
|
android:text="@string/title_pro_bought"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvFilterUnavailable"
|
android:id="@+id/tvFilterUnavailable"
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
android:text="@string/title_pro_unavailable"
|
android:text="@string/title_pro_unavailable"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_weight="2"
|
android:layout_weight="2"
|
||||||
android:text="@string/title_pro_notify"
|
android:text="@string/title_pro_notify"
|
||||||
android:textAppearance="@style/TextSmall"/>
|
android:textAppearance="@style/TextSmall" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnNotify"
|
android:id="@+id/btnNotify"
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:text="@string/title_pro_buy"
|
android:text="@string/title_pro_buy"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvNotify"
|
android:id="@+id/tvNotify"
|
||||||
|
@ -160,7 +160,7 @@
|
||||||
android:text="@string/title_pro_bought"
|
android:text="@string/title_pro_bought"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -176,7 +176,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_weight="2"
|
android:layout_weight="2"
|
||||||
android:text="@string/title_pro_speed"
|
android:text="@string/title_pro_speed"
|
||||||
android:textAppearance="@style/TextSmall"/>
|
android:textAppearance="@style/TextSmall" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnSpeed"
|
android:id="@+id/btnSpeed"
|
||||||
|
@ -186,7 +186,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:text="@string/title_pro_buy"
|
android:text="@string/title_pro_buy"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvSpeed"
|
android:id="@+id/tvSpeed"
|
||||||
|
@ -198,7 +198,7 @@
|
||||||
android:text="@string/title_pro_bought"
|
android:text="@string/title_pro_bought"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -214,7 +214,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_weight="2"
|
android:layout_weight="2"
|
||||||
android:text="@string/title_pro_theme"
|
android:text="@string/title_pro_theme"
|
||||||
android:textAppearance="@style/TextSmall"/>
|
android:textAppearance="@style/TextSmall" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnTheme"
|
android:id="@+id/btnTheme"
|
||||||
|
@ -224,7 +224,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:text="@string/title_pro_buy"
|
android:text="@string/title_pro_buy"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvTheme"
|
android:id="@+id/tvTheme"
|
||||||
|
@ -236,15 +236,15 @@
|
||||||
android:text="@string/title_pro_bought"
|
android:text="@string/title_pro_bought"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="2dip"
|
android:layout_height="2dip"
|
||||||
android:layout_marginBottom="8dip"
|
|
||||||
android:layout_marginTop="8dip"
|
android:layout_marginTop="8dip"
|
||||||
android:background="@android:color/darker_gray"/>
|
android:layout_marginBottom="8dip"
|
||||||
|
android:background="@android:color/darker_gray" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -252,14 +252,14 @@
|
||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:text="="
|
android:text="="
|
||||||
android:textAppearance="@style/TextLarge"
|
android:textAppearance="@style/TextLarge"
|
||||||
android:textSize="36sp"/>
|
android:textSize="36sp" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="2dip"
|
android:layout_height="2dip"
|
||||||
android:layout_marginBottom="8dip"
|
|
||||||
android:layout_marginTop="8dip"
|
android:layout_marginTop="8dip"
|
||||||
android:background="@android:color/darker_gray"/>
|
android:layout_marginBottom="8dip"
|
||||||
|
android:background="@android:color/darker_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -274,7 +274,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_weight="2"
|
android:layout_weight="2"
|
||||||
android:text="@string/title_pro_all"
|
android:text="@string/title_pro_all"
|
||||||
android:textAppearance="@style/TextSmall"/>
|
android:textAppearance="@style/TextSmall" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnAll"
|
android:id="@+id/btnAll"
|
||||||
|
@ -284,7 +284,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:text="@string/title_pro_buy"
|
android:text="@string/title_pro_buy"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvAll"
|
android:id="@+id/tvAll"
|
||||||
|
@ -296,119 +296,21 @@
|
||||||
android:text="@string/title_pro_bought"
|
android:text="@string/title_pro_bought"
|
||||||
android:textAppearance="@style/TextMedium"
|
android:textAppearance="@style/TextMedium"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="2dip"
|
android:layout_height="2dip"
|
||||||
android:layout_marginBottom="8dip"
|
|
||||||
android:layout_marginTop="8dip"
|
android:layout_marginTop="8dip"
|
||||||
android:background="@android:color/darker_gray"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:text="≠"
|
|
||||||
android:textAppearance="@style/TextLarge"
|
|
||||||
android:textSize="36sp"/>
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="2dip"
|
|
||||||
android:layout_marginBottom="8dip"
|
android:layout_marginBottom="8dip"
|
||||||
android:layout_marginTop="8dip"
|
android:background="@android:color/darker_gray" />
|
||||||
android:background="@android:color/darker_gray"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvDev1Title"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_weight="2"
|
|
||||||
android:text="@string/title_pro_dev"
|
|
||||||
android:textAppearance="@style/TextSmall"/>
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/btnDev1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|center_horizontal"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:enabled="false"
|
|
||||||
android:text="@string/title_pro_buy"
|
|
||||||
android:visibility="gone"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvDev1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:text="@string/title_pro_bought"
|
|
||||||
android:textAppearance="@style/TextMedium"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:visibility="gone"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvDev2Title"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_weight="2"
|
|
||||||
android:text="@string/title_pro_dev"
|
|
||||||
android:textAppearance="@style/TextSmall"/>
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/btnDev2"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|center_horizontal"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:enabled="false"
|
|
||||||
android:text="@string/title_pro_buy"
|
|
||||||
android:visibility="gone"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvDev2"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:text="@string/title_pro_bought"
|
|
||||||
android:textAppearance="@style/TextMedium"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:visibility="gone"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="2dip"
|
|
||||||
android:layout_marginBottom="8dip"
|
|
||||||
android:layout_marginTop="8dip"
|
|
||||||
android:background="@android:color/darker_gray"/>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:text="@string/title_pro_details"
|
android:text="@string/title_pro_details"
|
||||||
android:textAppearance="@style/TextMedium"/>
|
android:textAppearance="@style/TextMedium" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
Loading…
Reference in a new issue