mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-16 10:48:46 +00:00
Shrunk the store headers a bit
This commit is contained in:
parent
1b8fba506f
commit
a68ff731bb
@ -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));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user