mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2026-03-10 18:55:03 +00:00
Shrunk the store headers a bit
This commit is contained in:
@@ -11,6 +11,7 @@ import android.widget.*;
|
|||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||||
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
|
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
|
||||||
import com.example.listify.ui.home.HomeFragment;
|
import com.example.listify.ui.home.HomeFragment;
|
||||||
import com.bumptech.glide.Glide;
|
import com.bumptech.glide.Glide;
|
||||||
@@ -493,6 +494,12 @@ public class ListPage extends AppCompatActivity implements Requestor.Receiver {
|
|||||||
removeItem.setVisibility(View.GONE);
|
removeItem.setVisibility(View.GONE);
|
||||||
|
|
||||||
listproduct.setBackgroundColor(Color.parseColor("#BBBBBB"));
|
listproduct.setBackgroundColor(Color.parseColor("#BBBBBB"));
|
||||||
|
|
||||||
|
ConstraintLayout constraintLayout = listproduct.findViewById(R.id.constraintLayout);
|
||||||
|
constraintLayout.setMaxHeight(250);
|
||||||
|
|
||||||
|
name.setPadding(0, 175, 0, 0);
|
||||||
|
price.setPadding(0, 175, 0, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
quantity.setText(pQuantity.get(position));
|
quantity.setText(pQuantity.get(position));
|
||||||
|
|||||||
Reference in New Issue
Block a user