updated_code
This commit is contained in:
Generated
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DeviceTable">
|
||||||
|
<option name="columnSorters">
|
||||||
|
<list>
|
||||||
|
<ColumnSorterState>
|
||||||
|
<option name="column" value="Name" />
|
||||||
|
<option name="order" value="ASCENDING" />
|
||||||
|
</ColumnSorterState>
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -35,7 +35,6 @@ android {
|
|||||||
lintOptions {
|
lintOptions {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ✅ Sources JAR
|
// ✅ Sources JAR
|
||||||
|
|||||||
+3
-3
@@ -12,8 +12,8 @@ android {
|
|||||||
applicationId "com.cpm.lorealbaautomation"
|
applicationId "com.cpm.lorealbaautomation"
|
||||||
//noinspection OldTargetApi
|
//noinspection OldTargetApi
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 20
|
versionCode 21
|
||||||
versionName "2.9"
|
versionName "3.0"
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
useLibrary 'org.apache.http.legacy'
|
useLibrary 'org.apache.http.legacy'
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
@@ -34,7 +34,7 @@ android {
|
|||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
buildConfigField "boolean", "LOG_ENABLED", "true"
|
buildConfigField "boolean", "LOG_ENABLED", "true"
|
||||||
debuggable false
|
debuggable true
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
signingConfig signingConfigs.config
|
signingConfig signingConfigs.config
|
||||||
|
|||||||
Binary file not shown.
@@ -11,8 +11,8 @@
|
|||||||
"type": "SINGLE",
|
"type": "SINGLE",
|
||||||
"filters": [],
|
"filters": [],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 20,
|
"versionCode": 21,
|
||||||
"versionName": "2.9",
|
"versionName": "3.0",
|
||||||
"outputFile": "app-release.apk"
|
"outputFile": "app-release.apk"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1997,6 +1997,7 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
values.put("SaleableOut", tStockSummary.getSaleableOut());
|
values.put("SaleableOut", tStockSummary.getSaleableOut());
|
||||||
values.put("SaleableDamage", tStockSummary.getSaleableDamage());
|
values.put("SaleableDamage", tStockSummary.getSaleableDamage());
|
||||||
values.put("SaleableBalance", tStockSummary.getSaleableStatus().trim().equalsIgnoreCase("COMPLETE") && tStockSummary.getSaleableBalance()==-1 ? 0 : tStockSummary.getSaleableBalance());
|
values.put("SaleableBalance", tStockSummary.getSaleableStatus().trim().equalsIgnoreCase("COMPLETE") && tStockSummary.getSaleableBalance()==-1 ? 0 : tStockSummary.getSaleableBalance());
|
||||||
|
// values.put("SaleableBalance", tStockSummary.getSaleableBalance());
|
||||||
values.put("TesterIn", tStockSummary.getTesterIn());
|
values.put("TesterIn", tStockSummary.getTesterIn());
|
||||||
values.put("TesterOut", tStockSummary.getTesterOut());
|
values.put("TesterOut", tStockSummary.getTesterOut());
|
||||||
values.put("TesterDamage", tStockSummary.getTesterDamage());
|
values.put("TesterDamage", tStockSummary.getTesterDamage());
|
||||||
@@ -2019,7 +2020,6 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
if (l == -1) {
|
if (l == -1) {
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isTStockTotalLine(date, counterId, "T_StockSummary") != data.size()) {
|
if (isTStockTotalLine(date, counterId, "T_StockSummary") != data.size()) {
|
||||||
@@ -2855,23 +2855,22 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
public String getStatus(String columnName, String counterId) {
|
public String getStatus(String columnName, String counterId) {
|
||||||
String status = null;
|
String status = null;
|
||||||
Cursor dbcursor = null;
|
Cursor dbcursor = null;
|
||||||
|
String query = "select distinct t1." + columnName + " from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1." + columnName + "<>''and t1.CounterId=" + counterId + " and t2.ProductType='Normal'";
|
||||||
|
Log.d("querydata",query);
|
||||||
try {
|
try {
|
||||||
if (columnName != null && columnName.equalsIgnoreCase(CommonString.KEY_GwpStatus)) {
|
if (columnName != null && columnName.equalsIgnoreCase(CommonString.KEY_GwpStatus)) {
|
||||||
dbcursor = db.rawQuery("select distinct t1.GwpStatus as GwpStatus from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1.GwpStatus<>''and t1.CounterId=" + counterId + " and t2.ProductType='GWP'", null);
|
dbcursor = db.rawQuery("select distinct t1.GwpStatus as GwpStatus from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1.GwpStatus<>''and t1.CounterId=" + counterId + " and t2.ProductType='GWP'", null);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
dbcursor = db.rawQuery("select distinct t1." + columnName + " from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1." + columnName + "<>''and t1.CounterId=" + counterId + " and t2.ProductType='Normal'", null);
|
//dbcursor = db.rawQuery("select distinct t1." + columnName + " from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1." + columnName + "<>''and t1.CounterId=" + counterId + " and t2.ProductType='Normal'", null);
|
||||||
|
dbcursor = db.rawQuery(query, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dbcursor != null) {
|
if (dbcursor != null) {
|
||||||
dbcursor.moveToFirst();
|
dbcursor.moveToFirst();
|
||||||
while (!dbcursor.isAfterLast()) {
|
while (!dbcursor.isAfterLast()) {
|
||||||
|
|
||||||
status = dbcursor.getString(dbcursor.getColumnIndexOrThrow(columnName));
|
status = dbcursor.getString(dbcursor.getColumnIndexOrThrow(columnName));
|
||||||
|
|
||||||
dbcursor.moveToNext();
|
dbcursor.moveToNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
dbcursor.close();
|
dbcursor.close();
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@@ -5127,10 +5126,7 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
} else {
|
} else {
|
||||||
query = " Select " + getDataMe + " from " + table + " s" + " Left join" + " (Select CounterId, ProductId, sum(DamageQty) as DamageQty from (" + " select T.COUNTER_ID as CounterId, T.ProductId, T.Stock as DamageQty from" + " TABLE_TRANSACTION_DATA T INNER JOIN DR_TABLE_TRANSACTION_WISE_MASTER M" + " ON T.MASTER_TRANSACTION_ID = M.MASTER_TRANSACTION_ID where T.STOCK_TYPE='DAMAGE'" + " AND T.Visit_Date ='" + visit_date + "' and T.COUNTER_ID =" + counterId + " and T.ProductId = " + productId + " Union All SELECT CounterId, ProductId, DamageQty from Damage_PreviousPending Where" + " CounterId =" + counterId + " and Verify ='Pending' and ProductId=" + productId + " UNION ALL" + " Select T2.COUNTER_ID AS CounterId, T1.PRODUCT_ID AS ProductId , SUM(T1.QUANTITY) AS DamageQty" + " FROM SALE_TRACKING_TABLE T1 INNER JOIN SALE_TRACKING_HEADER_TABLE T2 ON" + " T2.RECCEPT_COUNT=T1.RECCEPT_COUNT" + " WHERE T2.COUNTER_ID =" + counterId + " AND T2.Visit_Date='" + visit_date + "' AND T1.INVOICE_TYPE='Saleable'" + " and T1.PRODUCT_ID=" + productId + q1 + " GROUP BY T1.PRODUCT_ID UNION ALL" + " select S.COUNTER_ID as CounterId, S.PROMO_PRODUCT_ID AS ProductId , SUM(S.PROMO_PRODUCT_QTY) AS DamageQty" + " from APPLYED_PROMOTION_TABLE S INNER JOIN SALE_TRACKING_HEADER_TABLE S1" + " ON S.RECCEPT_COUNT=S1.RECCEPT_COUNT" + " Where S.PROMO_TYPE ='Product' AND S.COUNTER_ID = " + counterId + " AND S1.VISIT_DATE = '" + visit_date + "' and S.PROMO_PRODUCT_ID=" + productId + q2 + " GROUP BY S.PROMO_PRODUCT_ID) as" + " t Group by CounterId, ProductId) as dm on s.ProductId = dm.ProductId" + additionQueryMe + " where s.ProductId=" + productId;
|
query = " Select " + getDataMe + " from " + table + " s" + " Left join" + " (Select CounterId, ProductId, sum(DamageQty) as DamageQty from (" + " select T.COUNTER_ID as CounterId, T.ProductId, T.Stock as DamageQty from" + " TABLE_TRANSACTION_DATA T INNER JOIN DR_TABLE_TRANSACTION_WISE_MASTER M" + " ON T.MASTER_TRANSACTION_ID = M.MASTER_TRANSACTION_ID where T.STOCK_TYPE='DAMAGE'" + " AND T.Visit_Date ='" + visit_date + "' and T.COUNTER_ID =" + counterId + " and T.ProductId = " + productId + " Union All SELECT CounterId, ProductId, DamageQty from Damage_PreviousPending Where" + " CounterId =" + counterId + " and Verify ='Pending' and ProductId=" + productId + " UNION ALL" + " Select T2.COUNTER_ID AS CounterId, T1.PRODUCT_ID AS ProductId , SUM(T1.QUANTITY) AS DamageQty" + " FROM SALE_TRACKING_TABLE T1 INNER JOIN SALE_TRACKING_HEADER_TABLE T2 ON" + " T2.RECCEPT_COUNT=T1.RECCEPT_COUNT" + " WHERE T2.COUNTER_ID =" + counterId + " AND T2.Visit_Date='" + visit_date + "' AND T1.INVOICE_TYPE='Saleable'" + " and T1.PRODUCT_ID=" + productId + q1 + " GROUP BY T1.PRODUCT_ID UNION ALL" + " select S.COUNTER_ID as CounterId, S.PROMO_PRODUCT_ID AS ProductId , SUM(S.PROMO_PRODUCT_QTY) AS DamageQty" + " from APPLYED_PROMOTION_TABLE S INNER JOIN SALE_TRACKING_HEADER_TABLE S1" + " ON S.RECCEPT_COUNT=S1.RECCEPT_COUNT" + " Where S.PROMO_TYPE ='Product' AND S.COUNTER_ID = " + counterId + " AND S1.VISIT_DATE = '" + visit_date + "' and S.PROMO_PRODUCT_ID=" + productId + q2 + " GROUP BY S.PROMO_PRODUCT_ID) as" + " t Group by CounterId, ProductId) as dm on s.ProductId = dm.ProductId" + additionQueryMe + " where s.ProductId=" + productId;
|
||||||
}
|
}
|
||||||
|
|
||||||
dbcursor = db.rawQuery(query, null);
|
dbcursor = db.rawQuery(query, null);
|
||||||
|
|
||||||
//test("Query--", query);
|
|
||||||
if (dbcursor != null) {
|
if (dbcursor != null) {
|
||||||
dbcursor.moveToFirst();
|
dbcursor.moveToFirst();
|
||||||
while (!dbcursor.isAfterLast()) {
|
while (!dbcursor.isAfterLast()) {
|
||||||
@@ -5664,10 +5660,8 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
sb.setVisitDate(dbcursor.getString(dbcursor.getColumnIndexOrThrow("VisitDate")));
|
sb.setVisitDate(dbcursor.getString(dbcursor.getColumnIndexOrThrow("VisitDate")));
|
||||||
sb.setCheckout(dbcursor.getString(dbcursor.getColumnIndexOrThrow("Checkout")));
|
sb.setCheckout(dbcursor.getString(dbcursor.getColumnIndexOrThrow("Checkout")));
|
||||||
}
|
}
|
||||||
|
|
||||||
dbcursor.moveToNext();
|
dbcursor.moveToNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
dbcursor.close();
|
dbcursor.close();
|
||||||
return sb;
|
return sb;
|
||||||
|
|
||||||
@@ -6444,8 +6438,13 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
boolean filled = false;
|
boolean filled = false;
|
||||||
Cursor dbcursor = null;
|
Cursor dbcursor = null;
|
||||||
try {
|
try {
|
||||||
dbcursor = db.rawQuery("SELECT (ifnull(T4.TotLine,0) + ifnull(T4.TotalStock,0)) as StockStatus From" + " (select case when c.TotalLine = t.TotLine then 1 else 0 end as TotLine," + " case when c.TotalStock = t.TotValue then 1 else 0 end as TotalStock from" + " (SELECT * FROM StockSummary_Check Where VisitDate='" + visit_date + "' and CounterId=" + counterId + ") as c" + " INNER JOIN" + " (select counterId, count(*) as TotLIne, sum(SaleableBalance)as TotValue from T_StockSummary Where VisitDate='" + visit_date + "' and CounterId=" + counterId + " group by CounterId) AS t" + " ON c.CounterId = t.CounterId) as T4", null);
|
dbcursor = db.rawQuery("SELECT (ifnull(T4.TotLine,0) + ifnull(T4.TotalStock,0)) as StockStatus From" +
|
||||||
|
" (select case when c.TotalLine = t.TotLine then 1 else 0 end as TotLine," +
|
||||||
|
" case when c.TotalStock = t.TotValue then 1 else 0 end as TotalStock from" +
|
||||||
|
" (SELECT * FROM StockSummary_Check Where VisitDate='" + visit_date +
|
||||||
|
"' and CounterId=" + counterId + ") as c" +
|
||||||
|
" INNER JOIN" + " (select counterId, count(*) as TotLIne, sum(SaleableBalance)as TotValue from T_StockSummary Where VisitDate='"
|
||||||
|
+ visit_date + "' and CounterId=" + counterId + " group by CounterId) AS t" + " ON c.CounterId = t.CounterId) as T4", null);
|
||||||
if (dbcursor != null) {
|
if (dbcursor != null) {
|
||||||
dbcursor.moveToFirst();
|
dbcursor.moveToFirst();
|
||||||
while (!dbcursor.isAfterLast()) {
|
while (!dbcursor.isAfterLast()) {
|
||||||
@@ -6456,17 +6455,14 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
} else {
|
} else {
|
||||||
filled = false;
|
filled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
dbcursor.moveToNext();
|
dbcursor.moveToNext();
|
||||||
}
|
}
|
||||||
dbcursor.close();
|
dbcursor.close();
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
////////test("Exception--", e.toString());
|
////////test("Exception--", e.toString());
|
||||||
|
|
||||||
return filled;
|
return filled;
|
||||||
}
|
}
|
||||||
|
|
||||||
return filled;
|
return filled;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -14937,14 +14933,15 @@ public class Lorealba_Database extends SQLiteOpenHelper {
|
|||||||
return sb;
|
return sb;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateStatus(String id, String counterId, String bID, String status, double latitude, double longitude) {
|
public long updateStatus(String id, String counterId, String bID, String status, double latitude, double longitude) {
|
||||||
ContentValues values = new ContentValues();
|
ContentValues values = new ContentValues();
|
||||||
try {
|
try {
|
||||||
values.put("GeoTag", status);
|
values.put("GeoTag", status);
|
||||||
values.put("Latitude", latitude);
|
values.put("Latitude", latitude);
|
||||||
values.put("Longitude", longitude);
|
values.put("Longitude", longitude);
|
||||||
db.update("Mapping_JourneyPlan", values, "StoreId" + " = " + id + " And BID = " + bID + " And CounterId = " + counterId, null);
|
return db.update("Mapping_JourneyPlan", values, "StoreId" + " = " + id + " And BID = " + bID + " And CounterId = " + counterId, null);
|
||||||
} catch (Exception ignored) {
|
} catch (Exception ignored) {
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -462,7 +462,6 @@ public class UserLoginActivity extends AppCompatActivity implements View.OnClick
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
case "Mapping_JourneyPlan":
|
case "Mapping_JourneyPlan":
|
||||||
Log.d("JSON_DATA", data);
|
|
||||||
if (!data.contains("No Data")) {
|
if (!data.contains("No Data")) {
|
||||||
JCPGetterSetter jcpObject = new Gson().fromJson(data, JCPGetterSetter.class);
|
JCPGetterSetter jcpObject = new Gson().fromJson(data, JCPGetterSetter.class);
|
||||||
db.open();
|
db.open();
|
||||||
|
|||||||
@@ -118,7 +118,6 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
|
|||||||
private LocationCallback locationCallback = null;
|
private LocationCallback locationCallback = null;
|
||||||
private SharedPreferences.Editor editor = null;
|
private SharedPreferences.Editor editor = null;
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
@@ -635,7 +634,6 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private boolean hasGPSDevice(Context context) {
|
private boolean hasGPSDevice(Context context) {
|
||||||
final LocationManager mgr = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
|
final LocationManager mgr = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
|
||||||
if (mgr == null) return false;
|
if (mgr == null) return false;
|
||||||
@@ -676,6 +674,7 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
|
|||||||
jcpObject = new Gson().fromJson(data, JCPGetterSetter.class);
|
jcpObject = new Gson().fromJson(data, JCPGetterSetter.class);
|
||||||
db.open();
|
db.open();
|
||||||
if (jcpObject != null && db.insertJCPData(jcpObject)) {
|
if (jcpObject != null && db.insertJCPData(jcpObject)) {
|
||||||
|
Log.d("jcpdatanew","jcp data inserted");
|
||||||
/// checking GeoFencing
|
/// checking GeoFencing
|
||||||
getLastLocation();
|
getLastLocation();
|
||||||
AlertandMessages.showToastMsg(context, "Journey Plan Download Successfully.");
|
AlertandMessages.showToastMsg(context, "Journey Plan Download Successfully.");
|
||||||
@@ -944,14 +943,14 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
|
|||||||
if (jcp.getGeoTag() != null && !jcp.getGeoTag().equalsIgnoreCase(CommonString.KEY_N) && jcp.getGeoFencingAllow() != null && jcp.getGeoFencingAllow() == 1) {
|
if (jcp.getGeoTag() != null && !jcp.getGeoTag().equalsIgnoreCase(CommonString.KEY_N) && jcp.getGeoFencingAllow() != null && jcp.getGeoFencingAllow() == 1) {
|
||||||
int distance = jcp.getGeoFencingRadius() != null ? jcp.getGeoFencingRadius() : 0;
|
int distance = jcp.getGeoFencingRadius() != null ? jcp.getGeoFencingRadius() : 0;
|
||||||
int current_dist_from_store_using_lat = 0;
|
int current_dist_from_store_using_lat = 0;
|
||||||
Log.d("latdata",lat + ","+lon + ","+jcp.getLatitude() + ","+jcp.getLongitude());
|
Log.d("latdata", lat + "," + lon + "," + jcp.getLatitude() + "," + jcp.getLongitude());
|
||||||
if (jcp.getLatitude() != 0.0 && jcp.getLongitude() != 0.0 && jcp.getGeoFencingRadius() != 0 && lat != 0.0 && lon != 0.0) {
|
if (jcp.getLatitude() != 0.0 && jcp.getLongitude() != 0.0 && jcp.getGeoFencingRadius() != 0 && lat != 0.0 && lon != 0.0) {
|
||||||
current_dist_from_store_using_lat = DistanceUtils.calculateDistanceInMeters(lat, lon, jcp.getLatitude(), jcp.getLongitude());
|
current_dist_from_store_using_lat = DistanceUtils.calculateDistanceInMeters(lat, lon, jcp.getLatitude(), jcp.getLongitude());
|
||||||
Log.d("TagLoc", "Radius " + distance + "\nCurrent dist " + current_dist_from_store_using_lat);
|
Log.d("TagLoc", "Radius " + distance + "\nCurrent dist " + current_dist_from_store_using_lat);
|
||||||
if (current_dist_from_store_using_lat > distance) {
|
if (current_dist_from_store_using_lat > distance) {
|
||||||
String msg = getString(R.string.you_need_to_be_within) + " " + distance + " metres " + getString(R.string.you_need_to_be_in_the_store) +
|
String msg = getString(R.string.you_need_to_be_within) + " " + distance + " metres " + getString(R.string.you_need_to_be_in_the_store) +
|
||||||
"\n\n" + getString(R.string.distance_from_the_store) + " " + current_dist_from_store_using_lat + " " + getString(R.string.meters);
|
"\n\n" + getString(R.string.distance_from_the_store) + " " + current_dist_from_store_using_lat + " " + getString(R.string.meters);
|
||||||
if (isFinishing() || (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1 && isDestroyed())) {
|
if (isFinishing() || isDestroyed()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||||
@@ -965,11 +964,12 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (isFinishing() || (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1 && isDestroyed())) {
|
if (isFinishing() || isDestroyed()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
db.open();
|
db.open();
|
||||||
if (!isGeoTagAlertShown && db.getinsertGeotaggingData(storeId.toString(), counter_id, username, "Y").isEmpty()) {
|
Log.d("jcpdata", jcp.getGeoTag());
|
||||||
|
if (jcp.getGeoTag() != null && !jcp.getGeoTag().equalsIgnoreCase(CommonString.KEY_Y) && !isGeoTagAlertShown) {
|
||||||
isGeoTagAlertShown = true;
|
isGeoTagAlertShown = true;
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||||
builder.setTitle(getResources().getString(R.string.dialog_title));
|
builder.setTitle(getResources().getString(R.string.dialog_title));
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ import java.util.HashMap;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import okhttp3.MediaType;
|
import okhttp3.MediaType;
|
||||||
import okhttp3.OkHttpClient;
|
import okhttp3.OkHttpClient;
|
||||||
import okhttp3.RequestBody;
|
import okhttp3.RequestBody;
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import androidx.fragment.app.Fragment;
|
|||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
|
import android.util.Log;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
@@ -133,7 +134,8 @@ public class BAdvisorMenuFragment extends Fragment {
|
|||||||
ba_survey = R.mipmap.ba_survey;
|
ba_survey = R.mipmap.ba_survey;
|
||||||
|
|
||||||
|
|
||||||
} else if (db.isGroomedChecked(counterId, username, visit_date).equalsIgnoreCase("Amber")) {
|
}
|
||||||
|
else if (db.isGroomedChecked(counterId, username, visit_date).equalsIgnoreCase("Amber")) {
|
||||||
if (complete) {
|
if (complete) {
|
||||||
consumer_return = R.mipmap.consumer_return;
|
consumer_return = R.mipmap.consumer_return;
|
||||||
consumer_interaction = R.mipmap.consumer_interaction;
|
consumer_interaction = R.mipmap.consumer_interaction;
|
||||||
|
|||||||
@@ -111,10 +111,11 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
|
|||||||
startLocationUpdates();
|
startLocationUpdates();
|
||||||
if (!img_str.isEmpty()) {
|
if (!img_str.isEmpty()) {
|
||||||
if (db.InsertSTOREgeotag(jcpGetset.getStoreId().toString(), counter_id, jcpGetset.getBID().toString(), username, latitude, longitude, img_str) > 0) {
|
if (db.InsertSTOREgeotag(jcpGetset.getStoreId().toString(), counter_id, jcpGetset.getBID().toString(), username, latitude, longitude, img_str) > 0) {
|
||||||
img_str = "";
|
if (checkNetIsAvailable(view.getContext())) {
|
||||||
db.updateStatus(jcpGetset.getStoreId().toString(), jcpGetset.getCounterId().toString(),
|
new GeoTagUpload().execute();
|
||||||
jcpGetset.getBID().toString(), CommonString.KEY_Y, latitude, longitude);
|
} else {
|
||||||
new GeoTagUpload().execute();
|
AlertandMessages.showToastMsg(context, getResources().getString(R.string.nonetwork));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
AlertandMessages.showToastMsg(context, "Error in saving Geotag");
|
AlertandMessages.showToastMsg(context, "Error in saving Geotag");
|
||||||
}
|
}
|
||||||
@@ -122,26 +123,22 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
|
|||||||
AlertandMessages.showToastMsg(view.getContext(), getResources().getString(R.string.takeimage));
|
AlertandMessages.showToastMsg(view.getContext(), getResources().getString(R.string.takeimage));
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.fillInStackTrace();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
camera_fab.setOnClickListener(view -> {
|
camera_fab.setOnClickListener(view -> {
|
||||||
try {
|
try {
|
||||||
if (checkNetIsAvailable(view.getContext())) {
|
if (latitude != 0.0 && longitude != 0.0) {
|
||||||
if (latitude != 0.0 && longitude != 0.0) {
|
_pathforcheck = jcpGetset.getStoreId().toString() + "-" + jcpGetset.getCounterId().toString() +
|
||||||
_pathforcheck = jcpGetset.getStoreId().toString() + "-" + jcpGetset.getCounterId().toString() +
|
"-" + jcpGetset.getBID().toString() + "_GeoTag-" + jcpGetset.getVisitDate().replace("/", "")
|
||||||
"-" + jcpGetset.getBID().toString() + "_GeoTag-" + jcpGetset.getVisitDate().replace("/", "")
|
+ "_" + getCurrentTime().replace(":", "") + ".jpg";
|
||||||
+ "_" + getCurrentTime().replace(":", "") + ".jpg";
|
_path = CommonString.getImagesFolder(context) + _pathforcheck;
|
||||||
_path = CommonString.getImagesFolder(context) + _pathforcheck;
|
CommonFunctions.startAnncaCameraActivity(context, _path, null, false, CommonString.CAMERA_FACE_REAR);
|
||||||
CommonFunctions.startAnncaCameraActivity(context, _path, null, false, CommonString.CAMERA_FACE_REAR);
|
|
||||||
} else {
|
|
||||||
AlertandMessages.showToastMsg(context, "Please wait for location");
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
AlertandMessages.showToastMsg(context, getResources().getString(R.string.nonetwork));
|
AlertandMessages.showToastMsg(context, "Please wait for location");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.fillInStackTrace();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED ||
|
if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED ||
|
||||||
@@ -249,7 +246,7 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
|
|||||||
mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
|
mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
|
||||||
mMap.getUiSettings().setZoomControlsEnabled(true);
|
mMap.getUiSettings().setZoomControlsEnabled(true);
|
||||||
mMap.getUiSettings().setCompassEnabled(true);
|
mMap.getUiSettings().setCompassEnabled(true);
|
||||||
mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(latitude,longitude), 15));
|
mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(latitude, longitude), 15));
|
||||||
if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED ||
|
if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED ||
|
||||||
ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {
|
ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {
|
||||||
mMap.setMyLocationEnabled(true);
|
mMap.setMyLocationEnabled(true);
|
||||||
@@ -451,7 +448,7 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
|
|||||||
@NonNull
|
@NonNull
|
||||||
private JSONObject getJsonObject(int j) throws JSONException {
|
private JSONObject getJsonObject(int j) throws JSONException {
|
||||||
JSONObject obj = new JSONObject();
|
JSONObject obj = new JSONObject();
|
||||||
obj.put("UserId",username);
|
obj.put("UserId", username);
|
||||||
obj.put("StoreId", geotaglist.get(j).getStoreid());
|
obj.put("StoreId", geotaglist.get(j).getStoreid());
|
||||||
obj.put("CounterId", geotaglist.get(j).getCounterId());
|
obj.put("CounterId", geotaglist.get(j).getCounterId());
|
||||||
obj.put("bID", geotaglist.get(j).getBid());
|
obj.put("bID", geotaglist.get(j).getBid());
|
||||||
@@ -468,7 +465,8 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
|
|||||||
dialog.dismiss();
|
dialog.dismiss();
|
||||||
if (result != null && result.equalsIgnoreCase(CommonString.KEY_SUCCESS)) {
|
if (result != null && result.equalsIgnoreCase(CommonString.KEY_SUCCESS)) {
|
||||||
db.open();
|
db.open();
|
||||||
if (db.updateInsertedGeoTagStatus(jcpGetset.getStoreId().toString(), counter_id, username, CommonString.KEY_Y) > 0) {
|
if (db.updateInsertedGeoTagStatus(jcpGetset.getStoreId().toString(), counter_id, username, CommonString.KEY_Y) > 0
|
||||||
|
&& db.updateStatus(jcpGetset.getStoreId().toString(), jcpGetset.getCounterId().toString(), jcpGetset.getBID().toString(), CommonString.KEY_Y, latitude, longitude) > 0) {
|
||||||
img_str = "";
|
img_str = "";
|
||||||
AlertandMessages.showToastMsg(context, "Geotag Saved Successfully");
|
AlertandMessages.showToastMsg(context, "Geotag Saved Successfully");
|
||||||
finish();
|
finish();
|
||||||
@@ -506,9 +504,8 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
|
|||||||
settingsClient.checkLocationSettings(builder.build()).addOnSuccessListener(locationSettingsResponse -> {
|
settingsClient.checkLocationSettings(builder.build()).addOnSuccessListener(locationSettingsResponse -> {
|
||||||
// All location settings are satisfied. You can request location updates here.
|
// All location settings are satisfied. You can request location updates here.
|
||||||
}).addOnFailureListener(e -> {
|
}).addOnFailureListener(e -> {
|
||||||
if (e instanceof ResolvableApiException) {
|
if (e instanceof ResolvableApiException resolvable) {
|
||||||
try {
|
try {
|
||||||
ResolvableApiException resolvable = (ResolvableApiException) e;
|
|
||||||
resolvable.startResolutionForResult((Activity) this, REQUEST_LOCATION);
|
resolvable.startResolutionForResult((Activity) this, REQUEST_LOCATION);
|
||||||
} catch (IntentSender.SendIntentException sendEx) {
|
} catch (IntentSender.SendIntentException sendEx) {
|
||||||
// Ignore the error.
|
// Ignore the error.
|
||||||
|
|||||||
@@ -384,7 +384,13 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
|
|||||||
} else if (!allLoginData.isEmpty() && allLoginData.get(0).getMpin() != null && !pinview_confirm.getValue().equalsIgnoreCase(allLoginData.get(0).getMpin())) {
|
} else if (!allLoginData.isEmpty() && allLoginData.get(0).getMpin() != null && !pinview_confirm.getValue().equalsIgnoreCase(allLoginData.get(0).getMpin())) {
|
||||||
AlertandMessages.showToastMsg(context, "Your MPIN Does Not Match From Inserted Database");
|
AlertandMessages.showToastMsg(context, "Your MPIN Does Not Match From Inserted Database");
|
||||||
} else {
|
} else {
|
||||||
if (IS_PASSWORD_CHECK && Update_Visit_Date != null && Update_Visit_Date.equals("1")) {
|
if (CommonFunctions.checkNetIsAvailable(context)) {
|
||||||
|
AttempLogin();
|
||||||
|
} else {
|
||||||
|
AlertandMessages.showToastMsg(context, CommonString.MESSAGE_INTERNET_NOT_AVALABLE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*if (IS_PASSWORD_CHECK && Update_Visit_Date != null && Update_Visit_Date.equals("1")) {
|
||||||
if (CommonFunctions.checkNetIsAvailable(context)) {
|
if (CommonFunctions.checkNetIsAvailable(context)) {
|
||||||
AttempLogin();
|
AttempLogin();
|
||||||
} else {
|
} else {
|
||||||
@@ -441,8 +447,7 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
|
|||||||
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
|
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
|
||||||
|
|
||||||
} else if (v.getId() == R.id.btn_clear) {
|
} else if (v.getId() == R.id.btn_clear) {
|
||||||
hideKeyboard(this);
|
hideKeyboard(this);
|
||||||
@@ -615,6 +620,12 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
|
|||||||
builder.show();
|
builder.show();
|
||||||
} else {
|
} else {
|
||||||
loading.dismiss();
|
loading.dismiss();
|
||||||
|
Toast.makeText(context,"Success",Toast.LENGTH_SHORT).show();
|
||||||
|
editor.putString(user_id, pinview_confirm.getValue());
|
||||||
|
editor.putString(CommonString.KEY_USERNAME, user_id.toLowerCase());
|
||||||
|
editor.commit();
|
||||||
|
db.open();
|
||||||
|
db.updateLoginMpnData(user_id, pinview_confirm.getValue());
|
||||||
if (!allLoginData.isEmpty()) {
|
if (!allLoginData.isEmpty()) {
|
||||||
if (allLoginData.get(0).getImg().isEmpty()) {
|
if (allLoginData.get(0).getImg().isEmpty()) {
|
||||||
startActivity(new Intent(context, StoreImageActivity.class));
|
startActivity(new Intent(context, StoreImageActivity.class));
|
||||||
@@ -627,6 +638,7 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
|
|||||||
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
|
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
|
||||||
finish();
|
finish();
|
||||||
} else {
|
} else {
|
||||||
|
//Toast.makeText(context,"Success",Toast.LENGTH_SHORT).show();
|
||||||
Intent in = new Intent(context, DealarBoardActivity.class);
|
Intent in = new Intent(context, DealarBoardActivity.class);
|
||||||
startActivity(in);
|
startActivity(in);
|
||||||
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
|
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
|
||||||
|
|||||||
@@ -1923,7 +1923,6 @@ public class DownloadAllDatawithRetro extends ReferenceVariablesForDownloadActiv
|
|||||||
editor.putInt(CommonString.KEY_INCORRECT_TSTOCK_SUMMERY + date, 0);
|
editor.putInt(CommonString.KEY_INCORRECT_TSTOCK_SUMMERY + date, 0);
|
||||||
editor.apply();
|
editor.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
int incorrect_tStockSummery = preferences.getInt(CommonString.KEY_INCORRECT_TSTOCK_SUMMERY + date, 0);
|
int incorrect_tStockSummery = preferences.getInt(CommonString.KEY_INCORRECT_TSTOCK_SUMMERY + date, 0);
|
||||||
if (incorrect_tStockSummery != 0) {
|
if (incorrect_tStockSummery != 0) {
|
||||||
if (incorrect_tStockSummery == 1) {
|
if (incorrect_tStockSummery == 1) {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
i/debug_dex
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
i/
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
o/debug
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
o/classes
|
||||||
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
i/
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
i/classes_global-synthetics
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.androidbuts.multispinnerfilter" >
|
||||||
|
|
||||||
|
<uses-sdk android:minSdkVersion="24" />
|
||||||
|
|
||||||
|
<application android:allowBackup="true" >
|
||||||
|
</application>
|
||||||
|
|
||||||
|
</manifest>
|
||||||
+18
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"artifactType": {
|
||||||
|
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
|
||||||
|
"kind": "Directory"
|
||||||
|
},
|
||||||
|
"applicationId": "com.androidbuts.multispinnerfilter",
|
||||||
|
"variantName": "debug",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"type": "SINGLE",
|
||||||
|
"filters": [],
|
||||||
|
"attributes": [],
|
||||||
|
"outputFile": "AndroidManifest.xml"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"elementType": "File"
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
aarFormatVersion=1.0
|
||||||
|
aarMetadataVersion=1.0
|
||||||
|
minCompileSdk=1
|
||||||
|
minCompileSdkExtension=0
|
||||||
|
minAndroidGradlePluginVersion=1.0.0
|
||||||
|
coreLibraryDesugaringEnabled=false
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,45 @@
|
|||||||
|
int attr hintText 0x0
|
||||||
|
int color ColorPrimary 0x0
|
||||||
|
int color ColorPrimaryDark 0x0
|
||||||
|
int color android_text_color 0x0
|
||||||
|
int color app_topbar_color 0x0
|
||||||
|
int color background_color 0x0
|
||||||
|
int color black 0x0
|
||||||
|
int color blue 0x0
|
||||||
|
int color cyan 0x0
|
||||||
|
int color gray 0x0
|
||||||
|
int color lightBlue 0x0
|
||||||
|
int color list_background 0x0
|
||||||
|
int color list_even 0x0
|
||||||
|
int color list_header 0x0
|
||||||
|
int color list_odd 0x0
|
||||||
|
int color list_selected 0x0
|
||||||
|
int color primary 0x0
|
||||||
|
int color primary_dark 0x0
|
||||||
|
int color primary_pressed 0x0
|
||||||
|
int color red 0x0
|
||||||
|
int color ripple 0x0
|
||||||
|
int color text_color 0x0
|
||||||
|
int color white 0x0
|
||||||
|
int dimen activity_horizontal_margin 0x0
|
||||||
|
int dimen activity_vertical_margin 0x0
|
||||||
|
int id alertCheckbox 0x0
|
||||||
|
int id alertSearchEditText 0x0
|
||||||
|
int id alertSearchListView 0x0
|
||||||
|
int id alertTextView 0x0
|
||||||
|
int id empty 0x0
|
||||||
|
int id listTextViewSpinner 0x0
|
||||||
|
int id searchMultiSpinner 0x0
|
||||||
|
int id simpleMultiSpinner 0x0
|
||||||
|
int layout activity_main 0x0
|
||||||
|
int layout alert_dialog_listview_search 0x0
|
||||||
|
int layout item_listview_multiple 0x0
|
||||||
|
int layout item_listview_single 0x0
|
||||||
|
int layout textview_for_spinner 0x0
|
||||||
|
int string type_to_search 0x0
|
||||||
|
int style DialogWindowTitle 0x0
|
||||||
|
int style MaterialSpinner 0x0
|
||||||
|
int style myDialog 0x0
|
||||||
|
int style myDialogTitle 0x0
|
||||||
|
int[] styleable MultiSpinnerSearch { 0x0 }
|
||||||
|
int styleable MultiSpinnerSearch_hintText 0
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+6
@@ -0,0 +1,6 @@
|
|||||||
|
#Thu Sep 25 14:59:47 IST 2025
|
||||||
|
com.androidbuts.multispinnerfilter.library-main-6\:/layout/activity_main.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\activity_main.xml
|
||||||
|
com.androidbuts.multispinnerfilter.library-main-6\:/layout/alert_dialog_listview_search.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\alert_dialog_listview_search.xml
|
||||||
|
com.androidbuts.multispinnerfilter.library-main-6\:/layout/item_listview_single.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\item_listview_single.xml
|
||||||
|
com.androidbuts.multispinnerfilter.library-main-6\:/layout/textview_for_spinner.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\textview_for_spinner.xml
|
||||||
|
com.androidbuts.multispinnerfilter.library-main-6\:/layout/item_listview_multiple.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\item_listview_multiple.xml
|
||||||
+25
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<style name="DialogWindowTitle">
|
||||||
|
<item name="android:maxLines">1</item>
|
||||||
|
<item name="android:scrollHorizontally">true</item>
|
||||||
|
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
|
||||||
|
</style>
|
||||||
|
<style name="MaterialSpinner" parent="Material.Widget.Spinner">
|
||||||
|
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
|
||||||
|
<item name="spn_labelEnable">true</item>
|
||||||
|
<item name="spn_labelTextSize">18sp</item>
|
||||||
|
<item name="spn_arrowSwitchMode">true</item>
|
||||||
|
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
|
||||||
|
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
|
||||||
|
</style>
|
||||||
|
<style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
|
||||||
|
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
|
||||||
|
</style>
|
||||||
|
<style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
|
||||||
|
<item name="android:gravity">center_horizontal</item>
|
||||||
|
</style>
|
||||||
|
<declare-styleable name="MultiSpinnerSearch">
|
||||||
|
<attr format="string" name="hintText"/>
|
||||||
|
</declare-styleable>
|
||||||
|
</resources>
|
||||||
+47
@@ -0,0 +1,47 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="ColorPrimary">#29CA97</color>
|
||||||
|
<color name="ColorPrimaryDark">#06ACE4</color>
|
||||||
|
<color name="android_text_color">#747474</color>
|
||||||
|
<color name="app_topbar_color">#AAAAAA</color>
|
||||||
|
<color name="background_color">#E1E2E2</color>
|
||||||
|
<color name="black">#000000</color>
|
||||||
|
<color name="blue">#1589FF</color>
|
||||||
|
<color name="cyan">#00FFFF</color>
|
||||||
|
<color name="gray">#D1D0CE</color>
|
||||||
|
<color name="lightBlue">#ADD8E6</color>
|
||||||
|
<color name="list_background">#06ACE4</color>
|
||||||
|
<color name="list_even">#AAAAAA</color>
|
||||||
|
<color name="list_header">#99979C</color>
|
||||||
|
<color name="list_odd">#E1E2E2</color>
|
||||||
|
<color name="list_selected">#455FB6</color>
|
||||||
|
<color name="primary">#3f51b5</color>
|
||||||
|
<color name="primary_dark">#303f9f</color>
|
||||||
|
<color name="primary_pressed">#E1E2E2</color>
|
||||||
|
<color name="red">#FF0000</color>
|
||||||
|
<color name="ripple">#F06292</color>
|
||||||
|
<color name="text_color">#686868</color>
|
||||||
|
<color name="white">#FFFFFF</color>
|
||||||
|
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||||
|
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||||
|
<string name="type_to_search">Type to Search</string>
|
||||||
|
<style name="DialogWindowTitle">
|
||||||
|
<item name="android:maxLines">1</item>
|
||||||
|
<item name="android:scrollHorizontally">true</item>
|
||||||
|
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
|
||||||
|
</style>
|
||||||
|
<style name="MaterialSpinner" parent="Widget.AppCompat.Spinner">
|
||||||
|
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
|
||||||
|
<item name="spn_labelEnable">true</item>
|
||||||
|
<item name="spn_labelTextSize">18sp</item>
|
||||||
|
<item name="spn_arrowSwitchMode">true</item>
|
||||||
|
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
|
||||||
|
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
|
||||||
|
</style>
|
||||||
|
<style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
|
||||||
|
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
|
||||||
|
</style>
|
||||||
|
<style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
|
||||||
|
<item name="android:gravity">center_horizontal</item>
|
||||||
|
</style>
|
||||||
|
</resources>
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\res"><file name="activity_main" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\activity_main.xml" qualifiers="" type="layout"/><file name="alert_dialog_listview_search" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\alert_dialog_listview_search.xml" qualifiers="" type="layout"/><file name="item_listview_multiple" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\item_listview_multiple.xml" qualifiers="" type="layout"/><file name="item_listview_single" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\item_listview_single.xml" qualifiers="" type="layout"/><file name="textview_for_spinner" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\textview_for_spinner.xml" qualifiers="" type="layout"/><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\colors.xml" qualifiers=""><color name="ColorPrimary">#29CA97</color><color name="ColorPrimaryDark">#06ACE4</color><color name="list_background">#06ACE4</color><color name="blue">#1589FF</color><color name="white">#FFFFFF</color><color name="black">#000000</color><color name="gray">#D1D0CE</color><color name="background_color">#E1E2E2</color><color name="primary">#3f51b5</color><color name="primary_pressed">#E1E2E2</color><color name="primary_dark">#303f9f</color><color name="ripple">#F06292</color><color name="red">#FF0000</color><color name="cyan">#00FFFF</color><color name="lightBlue">#ADD8E6</color><color name="text_color">#686868</color><color name="android_text_color">#747474</color><color name="app_topbar_color">#AAAAAA</color><color name="list_even">#AAAAAA</color><color name="list_odd">#E1E2E2</color><color name="list_selected">#455FB6</color><color name="list_header">#99979C</color></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\dimens.xml" qualifiers=""><dimen name="activity_horizontal_margin">16dp</dimen><dimen name="activity_vertical_margin">16dp</dimen></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\strings.xml" qualifiers=""><string name="type_to_search">Type to Search</string></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\styles.xml" qualifiers=""><style name="MaterialSpinner" parent="Widget.AppCompat.Spinner">
|
||||||
|
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
|
||||||
|
<item name="spn_labelEnable">true</item>
|
||||||
|
<item name="spn_labelTextSize">18sp</item>
|
||||||
|
<item name="spn_arrowSwitchMode">true</item>
|
||||||
|
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
|
||||||
|
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
|
||||||
|
</style><style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
|
||||||
|
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
|
||||||
|
</style><style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
|
||||||
|
<item name="android:gravity">center_horizontal</item>
|
||||||
|
</style><style name="DialogWindowTitle">
|
||||||
|
<item name="android:maxLines">1</item>
|
||||||
|
<item name="android:scrollHorizontally">true</item>
|
||||||
|
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
|
||||||
|
</style></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values-v21\attrs.xml" qualifiers="v21"><declare-styleable name="MultiSpinnerSearch">
|
||||||
|
<attr format="string" name="hintText"/>
|
||||||
|
</declare-styleable></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values-v21\styles.xml" qualifiers="v21"><style name="MaterialSpinner" parent="Material.Widget.Spinner">
|
||||||
|
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
|
||||||
|
<item name="spn_labelEnable">true</item>
|
||||||
|
<item name="spn_labelTextSize">18sp</item>
|
||||||
|
<item name="spn_arrowSwitchMode">true</item>
|
||||||
|
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
|
||||||
|
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
|
||||||
|
</style><style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
|
||||||
|
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
|
||||||
|
</style><style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
|
||||||
|
<item name="android:gravity">center_horizontal</item>
|
||||||
|
</style><style name="DialogWindowTitle">
|
||||||
|
<item name="android:maxLines">1</item>
|
||||||
|
<item name="android:scrollHorizontally">true</item>
|
||||||
|
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
|
||||||
|
</style></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\build\generated\res\resValues\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\build\generated\res\resValues\debug"/></dataSet><mergedItems/></merger>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\jniLibs"/></dataSet></merger>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\shaders"/></dataSet></merger>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\build\intermediates\shader_assets\debug\out"/></dataSet></merger>
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#Fri Sep 12 13:23:48 IST 2025
|
#Wed Sep 24 19:13:56 IST 2025
|
||||||
com.androidbuts.multispinnerfilter.library-main-5\:/layout/textview_for_spinner.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\textview_for_spinner.xml
|
com.androidbuts.multispinnerfilter.library-main-5\:/layout/textview_for_spinner.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\textview_for_spinner.xml
|
||||||
com.androidbuts.multispinnerfilter.library-main-5\:/layout/activity_main.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\activity_main.xml
|
com.androidbuts.multispinnerfilter.library-main-5\:/layout/activity_main.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\activity_main.xml
|
||||||
com.androidbuts.multispinnerfilter.library-main-5\:/layout/alert_dialog_listview_search.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\alert_dialog_listview_search.xml
|
com.androidbuts.multispinnerfilter.library-main-5\:/layout/alert_dialog_listview_search.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\alert_dialog_listview_search.xml
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
@@ -230,6 +230,7 @@
|
|||||||
<com.google.ai.client.generativeai/>
|
<com.google.ai.client.generativeai/>
|
||||||
<com.google.ai.edge.aicore/>
|
<com.google.ai.edge.aicore/>
|
||||||
<com.google.ai.edge.litert/>
|
<com.google.ai.edge.litert/>
|
||||||
|
<com.google.ai.edge.litertlm/>
|
||||||
<com.google.ai.edge.localagents/>
|
<com.google.ai.edge.localagents/>
|
||||||
<com.google.ambient.crossdevice/>
|
<com.google.ambient.crossdevice/>
|
||||||
<com.google.android.ads/>
|
<com.google.android.ads/>
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,46 @@
|
|||||||
|
R_DEF: Internal format may change without notice
|
||||||
|
local
|
||||||
|
attr? hintText
|
||||||
|
color ColorPrimary
|
||||||
|
color ColorPrimaryDark
|
||||||
|
color android_text_color
|
||||||
|
color app_topbar_color
|
||||||
|
color background_color
|
||||||
|
color black
|
||||||
|
color blue
|
||||||
|
color cyan
|
||||||
|
color gray
|
||||||
|
color lightBlue
|
||||||
|
color list_background
|
||||||
|
color list_even
|
||||||
|
color list_header
|
||||||
|
color list_odd
|
||||||
|
color list_selected
|
||||||
|
color primary
|
||||||
|
color primary_dark
|
||||||
|
color primary_pressed
|
||||||
|
color red
|
||||||
|
color ripple
|
||||||
|
color text_color
|
||||||
|
color white
|
||||||
|
dimen activity_horizontal_margin
|
||||||
|
dimen activity_vertical_margin
|
||||||
|
id alertCheckbox
|
||||||
|
id alertSearchEditText
|
||||||
|
id alertSearchListView
|
||||||
|
id alertTextView
|
||||||
|
id empty
|
||||||
|
id listTextViewSpinner
|
||||||
|
id searchMultiSpinner
|
||||||
|
id simpleMultiSpinner
|
||||||
|
layout activity_main
|
||||||
|
layout alert_dialog_listview_search
|
||||||
|
layout item_listview_multiple
|
||||||
|
layout item_listview_single
|
||||||
|
layout textview_for_spinner
|
||||||
|
string type_to_search
|
||||||
|
style DialogWindowTitle
|
||||||
|
style MaterialSpinner
|
||||||
|
style myDialog
|
||||||
|
style myDialogTitle
|
||||||
|
styleable MultiSpinnerSearch hintText
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
1<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
3 package="com.androidbuts.multispinnerfilter" >
|
||||||
|
4
|
||||||
|
5 <uses-sdk android:minSdkVersion="24" />
|
||||||
|
6
|
||||||
|
7 <application android:allowBackup="true" >
|
||||||
|
7-->D:\LorealBa-Latest-2024\library\src\main\AndroidManifest.xml:5:5-7:19
|
||||||
|
7-->D:\LorealBa-Latest-2024\library\src\main\AndroidManifest.xml:5:18-44
|
||||||
|
8 </application>
|
||||||
|
9
|
||||||
|
10</manifest>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.androidbuts.multispinnerfilter" >
|
||||||
|
|
||||||
|
<uses-sdk android:minSdkVersion="24" />
|
||||||
|
|
||||||
|
<application android:allowBackup="true" >
|
||||||
|
</application>
|
||||||
|
|
||||||
|
</manifest>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
[]
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<com.androidbuts.multispinnerfilter.MultiSpinner
|
||||||
|
android:id="@+id/simpleMultiSpinner"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_margin="20dp" />
|
||||||
|
|
||||||
|
<com.androidbuts.multispinnerfilter.MultiSpinnerSearch
|
||||||
|
android:id="@+id/searchMultiSpinner"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_margin="20dp"
|
||||||
|
android:layout_marginTop="20dp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
+45
@@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_margin="5dp"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/alertSearchEditText"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:hint="@string/type_to_search"
|
||||||
|
android:inputType="text">
|
||||||
|
<requestFocus />
|
||||||
|
</EditText>
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:background="@android:color/transparent">
|
||||||
|
|
||||||
|
<ListView
|
||||||
|
android:id="@+id/alertSearchListView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="5dp"
|
||||||
|
android:cacheColorHint="@null"
|
||||||
|
android:fadeScrollbars="true"
|
||||||
|
android:fastScrollEnabled="true"
|
||||||
|
android:textFilterEnabled="true" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/empty"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="Not found !"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:textColor="@color/red" />
|
||||||
|
</RelativeLayout>
|
||||||
|
</LinearLayout>
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_margin="2dp"
|
||||||
|
android:background="@android:color/transparent">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/alertTextView"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_toLeftOf="@+id/alertCheckbox"
|
||||||
|
android:text="Item Name"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||||
|
|
||||||
|
<CheckBox
|
||||||
|
android:id="@+id/alertCheckbox"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:clickable="false"
|
||||||
|
android:buttonTint="@color/ripple"/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user