Advertisement
cristi9512

Untitled

Mar 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.01 KB | None | 0 0
  1. ///CUSTOM ADAPTER
  2.  
  3.  
  4. package com.example.cristinica.foodhelper;
  5.  
  6. /**
  7. * Created by alex on 3/24/2018.
  8. */
  9.  
  10. import android.content.Context;
  11. import android.content.Intent;
  12. import android.support.v7.widget.RecyclerView;
  13. import android.view.LayoutInflater;
  14. import android.view.View;
  15. import android.view.ViewGroup;
  16. import android.widget.ImageView;
  17. import android.widget.TextView;
  18.  
  19. import com.example.cristinica.foodhelper.models.Companys;
  20.  
  21. import java.util.ArrayList;
  22.  
  23. public class CustomAdapter extends RecyclerView.Adapter<CustomAdapter.MyViewHolder> {
  24.  
  25. private ArrayList<Companys> dataSet;
  26.  
  27. public static class MyViewHolder extends RecyclerView.ViewHolder {
  28.  
  29. TextView textViewName;
  30. TextView textViewDescriere;
  31. TextView textViewDates;
  32. TextView textViewLocatie;
  33. ImageView coperta;
  34. public Context context;
  35.  
  36. public MyViewHolder(View itemView) {
  37. super(itemView);
  38. this.textViewName = (TextView) itemView.findViewById(R.id.titlu);
  39. this.textViewDescriere = (TextView) itemView.findViewById(R.id.descriere);
  40. this.textViewDates = (TextView) itemView.findViewById(R.id.dates);
  41. this.textViewLocatie = (TextView) itemView.findViewById(R.id.locatie);
  42.  
  43. this.coperta = (ImageView) itemView.findViewById(R.id.coperta);
  44.  
  45. }
  46. }
  47.  
  48. public CustomAdapter(ArrayList<Companys> data) {
  49. this.dataSet = data;
  50. }
  51.  
  52. @Override
  53. public MyViewHolder onCreateViewHolder(ViewGroup parent,
  54. int viewType) {
  55. View view = LayoutInflater.from(parent.getContext())
  56. .inflate(R.layout.cards_layout, parent, false);
  57.  
  58.  
  59. MyViewHolder myViewHolder = new MyViewHolder(view);
  60. return myViewHolder;
  61. }
  62.  
  63. @Override
  64. public void onBindViewHolder(final MyViewHolder holder, final int listPosition) {
  65.  
  66. TextView textViewName = holder.textViewName;
  67. TextView textViewDescriere = holder.textViewDescriere;
  68. TextView textViewDates = holder.textViewDates;
  69. TextView textViewLocatie = holder.textViewLocatie;
  70. ImageView coperta = holder.coperta;
  71.  
  72. textViewName.setText(dataSet.get(listPosition).adresa);
  73. textViewDescriere.setText(dataSet.get(listPosition).nume_reprezentant);
  74. textViewDates.setText(dataSet.get(listPosition).nume);
  75. textViewLocatie.setText(dataSet.get(listPosition).telefon);
  76. coperta.setImageResource(R.drawable.background);
  77.  
  78.  
  79. holder.itemView.setOnClickListener(new View.OnClickListener() {
  80. @Override
  81. public void onClick(View v) {
  82.  
  83. Intent intent=new Intent(v.getContext(), FoodDetails.class);
  84. intent.putExtra("position",listPosition);
  85. v.getContext().startActivity(intent);
  86.  
  87. }
  88. } );
  89.  
  90.  
  91. }
  92.  
  93. @Override
  94. public int getItemCount() {
  95. return dataSet.size();
  96. }
  97.  
  98. }
  99.  
  100.  
  101.  
  102. //// FOOD DETAILS
  103.  
  104.  
  105. package com.example.cristinica.foodhelper;
  106.  
  107. import android.Manifest;
  108. import android.content.Intent;
  109. import android.content.pm.PackageManager;
  110. import android.net.Uri;
  111. import android.support.v4.app.ActivityCompat;
  112. import android.support.v7.app.AppCompatActivity;
  113. import android.os.Bundle;
  114. import android.view.View;
  115. import android.widget.Button;
  116. import android.widget.ListAdapter;
  117. import android.widget.ListView;
  118. import android.widget.TextView;
  119.  
  120. import com.example.cristinica.foodhelper.models.Companys;
  121. import com.example.cristinica.foodhelper.models.Food;
  122.  
  123. import org.w3c.dom.Text;
  124.  
  125. import java.util.ArrayList;
  126.  
  127. public class FoodDetails extends AppCompatActivity {
  128.  
  129. @Override
  130. protected void onCreate(Bundle savedInstanceState) {
  131. super.onCreate(savedInstanceState);
  132. setContentView(R.layout.activity_food_details);
  133.  
  134. getSupportActionBar().setTitle("Details");
  135.  
  136. TextView name = findViewById(R.id.textView2);
  137. TextView locatie = findViewById(R.id.textView8);
  138. TextView telefon = findViewById(R.id.textView9);
  139. TextView persoana = findViewById(R.id.textView10);
  140. Intent intent = getIntent();
  141. int position = intent.getIntExtra("position", -1);
  142. final Companys companys = SearchFood.arr.get(position);
  143. name.setText(companys.nume);
  144. locatie.setText(companys.adresa);
  145. telefon.setText(companys.telefon);
  146. persoana.setText(companys.nume_reprezentant);
  147. findViewById(R.id.call).setBackgroundDrawable(getResources().getDrawable(R.drawable.round2));
  148. findViewById(R.id.go_to).setBackgroundDrawable(getResources().getDrawable(R.drawable.round2));
  149.  
  150. ArrayList<Food> foods;
  151. ListAdapter adapter;
  152. ListView listView;
  153. listView = findViewById(R.id.list);
  154. adapter = new SecondListAdapter(FoodDetails.this, companys.foods);
  155. listView.setAdapter(adapter);
  156.  
  157. Button call = findViewById(R.id.call);
  158. call.setOnClickListener(new View.OnClickListener() {
  159. @Override
  160. public void onClick(View view) {
  161. String phone = companys.telefon;
  162. Intent intent = new Intent(Intent.ACTION_DIAL, Uri.fromParts("tel", phone, null));
  163. startActivity(intent);
  164. }
  165. });
  166.  
  167. Button goTo = findViewById(R.id.go_to);
  168. goTo.setOnClickListener(new View.OnClickListener() {
  169. @Override
  170. public void onClick(View view) {
  171. // Uri gmmIntentUri = Uri.parse("geo:0,0?q=1600 Amphitheatre Parkway, Mountain+View, California");
  172. String[] arr = companys.adresa.split(" ");
  173. Uri gmmIntentUri = Uri.parse("geo:0,0?q=" + companys.adresa);
  174. Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);
  175. mapIntent.setPackage("com.google.android.apps.maps");
  176. startActivity(mapIntent);
  177. }
  178. });
  179.  
  180. }
  181. }
  182.  
  183.  
  184.  
  185. ///// MAIN
  186.  
  187. package com.example.cristinica.foodhelper;
  188.  
  189.  
  190. import android.content.Context;
  191. import android.content.Intent;
  192. import android.content.SharedPreferences;
  193. import android.support.v7.app.AppCompatActivity;
  194. import android.os.Bundle;
  195. import android.view.View;
  196. import android.widget.RelativeLayout;
  197.  
  198. public class MainActivity extends AppCompatActivity {
  199.  
  200. @Override
  201. protected void onCreate(Bundle savedInstanceState) {
  202. super.onCreate(savedInstanceState);
  203. setContentView(R.layout.activity_main);
  204.  
  205. RelativeLayout help = findViewById(R.id.share_food);
  206. RelativeLayout need = findViewById(R.id.need_food);
  207. SharedPreferences sharedPreferences = MainActivity.this.getSharedPreferences("type", Context
  208. .MODE_PRIVATE);
  209. final SharedPreferences.Editor editor = sharedPreferences.edit();
  210.  
  211. SharedPreferences sharedPreferences2 = MainActivity.this.getSharedPreferences("logged", Context
  212. .MODE_PRIVATE);
  213. int logged = sharedPreferences2.getInt("logged", -1);
  214. int type = sharedPreferences.getInt("type", -1);
  215. if (logged == 1 && type == 0) {
  216. Intent intent = new Intent(MainActivity.this, GiverActivity.class);
  217. intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
  218. startActivity(intent);
  219. } else if (logged == 1 && type == 1) {
  220. Intent intent = new Intent(MainActivity.this, ReceiverActivity.class);
  221. intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
  222. startActivity(intent);
  223. }
  224. //companie
  225. help.setOnClickListener(new View.OnClickListener() {
  226. @Override
  227. public void onClick(View view) {
  228. editor.putInt("type", 0);
  229. editor.apply();
  230. Intent intent = new Intent(MainActivity.this, Login.class);
  231. startActivity(intent);
  232. }
  233. });
  234. //azil
  235. need.setOnClickListener(new View.OnClickListener() {
  236. @Override
  237. public void onClick(View view) {
  238. editor.putInt("type", 1);
  239. editor.apply();
  240. Intent intent = new Intent(MainActivity.this, Login.class);
  241. startActivity(intent);
  242. }
  243. });
  244. }
  245. }
  246.  
  247.  
  248. /// SEARCH FOOD
  249.  
  250. package com.example.cristinica.foodhelper;
  251.  
  252. import android.annotation.SuppressLint;
  253. import android.content.Context;
  254. import android.net.Uri;
  255. import android.os.AsyncTask;
  256. import android.os.Bundle;
  257. import android.support.v4.app.Fragment;
  258. import android.support.v4.widget.SwipeRefreshLayout;
  259. import android.support.v7.widget.DefaultItemAnimator;
  260. import android.support.v7.widget.LinearLayoutManager;
  261. import android.support.v7.widget.RecyclerView;
  262. import android.view.LayoutInflater;
  263. import android.view.View;
  264. import android.view.ViewGroup;
  265.  
  266. import com.example.cristinica.foodhelper.CustomAdapter;
  267. import com.example.cristinica.foodhelper.apiConnector.GetFoodApi;
  268. import com.example.cristinica.foodhelper.models.Companys;
  269. import com.example.cristinica.foodhelper.models.Food;
  270. import com.google.gson.Gson;
  271.  
  272. import org.json.JSONArray;
  273. import org.json.JSONException;
  274. import org.json.JSONObject;
  275.  
  276. import java.io.IOException;
  277. import java.util.ArrayList;
  278.  
  279.  
  280.  
  281.  
  282. public class SearchFood extends Fragment {
  283. public static ArrayList<Companys> arr = new ArrayList<>();
  284.  
  285. private RecyclerView.LayoutManager layoutManager;
  286. SwipeRefreshLayout swipeRefreshLayout;
  287. CustomAdapter adapter;
  288. RecyclerView recyclerView;
  289. View view;
  290. static public ArrayList<Companys> events = new ArrayList<Companys>();
  291.  
  292. // TODO: Rename parameter arguments, choose names that match
  293. // the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
  294. private static final String ARG_PARAM1 = "param1";
  295. private static final String ARG_PARAM2 = "param2";
  296.  
  297. // TODO: Rename and change types of parameters
  298. private String mParam1;
  299. private String mParam2;
  300.  
  301. private OnFragmentInteractionListener mListener;
  302.  
  303. public SearchFood() {
  304. // Required empty public constructor
  305. }
  306.  
  307. /**
  308. * Use this factory method to create a new instance of
  309. * this fragment using the provided parameters.
  310. *
  311. * @param param1 Parameter 1.
  312. * @param param2 Parameter 2.
  313. * @return A new instance of fragment FoodFragment.
  314. */
  315. // TODO: Rename and change types and number of parameters
  316. public static FoodFragment newInstance(String param1, String param2) {
  317. FoodFragment fragment = new FoodFragment();
  318. Bundle args = new Bundle();
  319. args.putString(ARG_PARAM1, param1);
  320. args.putString(ARG_PARAM2, param2);
  321. fragment.setArguments(args);
  322. return fragment;
  323. }
  324.  
  325. @Override
  326. public void onCreate(Bundle savedInstanceState) {
  327. super.onCreate(savedInstanceState);
  328. if (getArguments() != null) {
  329. mParam1 = getArguments().getString(ARG_PARAM1);
  330. mParam2 = getArguments().getString(ARG_PARAM2);
  331. }
  332. }
  333.  
  334. @Override
  335. public View onCreateView(LayoutInflater inflater, ViewGroup container,
  336. Bundle savedInstanceState) {
  337. // Inflate the layout for this fragment
  338. view = inflater.inflate(R.layout.fragment_search_food, container, false);
  339.  
  340. recyclerView = (RecyclerView) view.findViewById(R.id.my_recycler_view);
  341. swipeRefreshLayout = (SwipeRefreshLayout) view.findViewById(R.id.swipeRefreshLayout);
  342.  
  343.  
  344. @SuppressLint("StaticFieldLeak") AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() {
  345.  
  346. @Override
  347. protected Void doInBackground(Void... params) {
  348. /* String s = ApiConnectionGetEvents.getEvents();
  349.  
  350. Log.v("am primit la get Events", s);
  351. Gson g = new Gson();
  352. events = g.fromJson(s, new TypeToken<ArrayList<Event>>(){}.getType());*/
  353. try {
  354. String s = GetFoodApi.getAllFood();
  355. Gson g = new Gson();
  356. JSONArray jsonArray = new JSONArray(s);
  357. Companys companys = new Companys();
  358. for (int i = 0; i < jsonArray.length(); i++) {
  359. JSONObject jsonObject = jsonArray.getJSONObject(i);
  360. companys = g.fromJson(jsonObject.toString(), Companys.class);
  361. JSONArray jsonArray1 = jsonObject.getJSONArray("produse");
  362. for (int j = 0; j < jsonArray1.length(); j++){
  363. Food food = new Food();
  364. food = g.fromJson(jsonArray1.get(j).toString(), Food.class);
  365. companys.foods.add(food);
  366. }
  367. arr.add(companys);
  368. }
  369. } catch (IOException e) {
  370. e.printStackTrace();
  371. } catch (JSONException e) {
  372. e.printStackTrace();
  373. }
  374.  
  375. return null;
  376. }
  377.  
  378. @Override
  379. protected void onPostExecute(Void aVoid) {
  380.  
  381. super.onPostExecute(aVoid);
  382. recyclerView.setHasFixedSize(true);
  383.  
  384. layoutManager = new LinearLayoutManager(getContext());
  385. recyclerView.setLayoutManager(layoutManager);
  386. recyclerView.setItemAnimator(new DefaultItemAnimator());
  387.  
  388. // removedItems = new ArrayList<Integer>();
  389.  
  390. adapter = new CustomAdapter(arr);
  391. recyclerView.setAdapter(adapter);
  392.  
  393.  
  394. }
  395. };
  396.  
  397. task.execute();
  398.  
  399.  
  400. swipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
  401. @Override
  402. public void onRefresh() {
  403.  
  404. }
  405. });
  406.  
  407. return view;
  408.  
  409. }
  410.  
  411. // TODO: Rename method, update argument and hook method into UI event
  412. public void onButtonPressed(Uri uri) {
  413. if (mListener != null) {
  414. mListener.onFragmentInteraction(uri);
  415. }
  416. }
  417.  
  418. @Override
  419. public void onAttach(Context context) {
  420. super.onAttach(context);
  421. if (context instanceof OnFragmentInteractionListener) {
  422. mListener = (OnFragmentInteractionListener) context;
  423. } else {
  424. throw new RuntimeException(context.toString()
  425. + " must implement OnFragmentInteractionListener");
  426. }
  427. }
  428.  
  429. @Override
  430. public void onDetach() {
  431. super.onDetach();
  432. mListener = null;
  433. }
  434.  
  435. /**
  436. * This interface must be implemented by activities that contain this
  437. * fragment to allow an interaction in this fragment to be communicated
  438. * to the activity and potentially other fragments contained in that
  439. * activity.
  440. * <p>
  441. * See the Android Training lesson <a href=
  442. * "http://developer.android.com/training/basics/fragments/communicating.html"
  443. * >Communicating with Other Fragments</a> for more information.
  444. */
  445. public interface OnFragmentInteractionListener {
  446. // TODO: Update argument type and name
  447. void onFragmentInteraction(Uri uri);
  448. }
  449. }
  450.  
  451.  
  452.  
  453. ///SECOND LIST ADAPTER
  454.  
  455. package com.example.cristinica.foodhelper;
  456.  
  457. import android.content.Context;
  458. import android.support.design.widget.Snackbar;
  459. import android.support.v7.widget.RecyclerView;
  460. import android.view.LayoutInflater;
  461. import android.view.View;
  462. import android.view.ViewGroup;
  463. import android.widget.ArrayAdapter;
  464. import android.widget.BaseAdapter;
  465. import android.widget.ImageView;
  466. import android.widget.TextView;
  467.  
  468. import com.example.cristinica.foodhelper.models.Companys;
  469. import com.example.cristinica.foodhelper.models.Food;
  470.  
  471. import java.util.ArrayList;
  472. import java.util.List;
  473.  
  474. /**
  475. * Created by alex on 3/24/2018.
  476. */
  477.  
  478. public class SecondListAdapter extends BaseAdapter {
  479.  
  480. private Context context;
  481.  
  482. private ArrayList<Food> orderName;
  483.  
  484.  
  485. public SecondListAdapter(Context context, ArrayList<Food> orderName){
  486. this.context = context;
  487. this.orderName = orderName;
  488.  
  489. }
  490.  
  491. @Override
  492. public int getCount() {
  493. return orderName.size();
  494. }
  495.  
  496. @Override
  497. public Object getItem(int position) {
  498. return orderName.get(position);
  499. }
  500.  
  501. @Override
  502. public long getItemId(int position) {
  503. return 0;
  504. }
  505.  
  506.  
  507. @Override
  508. public View getView(final int position, View convertView, ViewGroup parent) {
  509.  
  510. final View listView;
  511. final LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  512. listView = inflater.inflate(R.layout.list_layout, null);
  513.  
  514. TextView name = (TextView) listView.findViewById(R.id.nameFood);
  515. TextView data = (TextView) listView.findViewById(R.id.dateFood);
  516. TextView cantitate = (TextView) listView.findViewById(R.id.cantitateFood);
  517. TextView um = (TextView) listView.findViewById(R.id.umFood);
  518. ImageView imageView = listView.findViewById(R.id.item_info);
  519. //imageView.setAlpha(0);
  520.  
  521. name.setText(orderName.get(position).nume);
  522. data.setText(orderName.get(position).data_expirare);
  523. cantitate.setText(String.valueOf(orderName.get(position).cantitate));
  524. um.setText(orderName.get(position).um);
  525. imageView.setAlpha(0);
  526.  
  527. return listView;
  528. }
  529. }
  530.  
  531.  
  532. //// ACTIVITY FOOD DETAILS
  533.  
  534. <?xml version="1.0" encoding="utf-8"?>
  535. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  536. xmlns:app="http://schemas.android.com/apk/res-auto"
  537. xmlns:tools="http://schemas.android.com/tools"
  538. android:layout_width="match_parent"
  539. android:layout_height="match_parent"
  540. tools:context="com.example.cristinica.foodhelper.FoodDetails">
  541.  
  542. <RelativeLayout
  543. android:layout_width="match_parent"
  544. android:layout_height="220dp"
  545. android:layout_marginTop="5dp">
  546.  
  547. <ImageView
  548. android:id="@+id/imageView5"
  549. android:layout_width="wrap_content"
  550. android:layout_height="wrap_content"
  551. android:layout_alignParentLeft="true"
  552. android:layout_alignParentStart="true"
  553. android:layout_alignParentTop="true"
  554. android:layout_marginLeft="18dp"
  555. android:layout_marginStart="18dp"
  556. android:layout_marginTop="13dp"
  557. app:srcCompat="@drawable/user_name" />
  558.  
  559. <TextView
  560. android:id="@+id/textView2"
  561. android:layout_width="wrap_content"
  562. android:layout_height="wrap_content"
  563. android:layout_alignBottom="@+id/imageView5"
  564. android:layout_marginLeft="23dp"
  565. android:layout_marginStart="23dp"
  566. android:layout_toEndOf="@+id/imageView5"
  567. android:layout_toRightOf="@+id/imageView5"
  568. android:text="nume" />
  569.  
  570. <ImageView
  571. android:id="@+id/imageView7"
  572. android:layout_width="wrap_content"
  573. android:layout_height="wrap_content"
  574. android:layout_alignLeft="@+id/imageView5"
  575. android:layout_alignStart="@+id/imageView5"
  576. android:layout_below="@+id/textView2"
  577. android:layout_marginTop="12dp"
  578. app:srcCompat="@drawable/placeholder" />
  579.  
  580. <TextView
  581. android:id="@+id/textView8"
  582. android:layout_width="wrap_content"
  583. android:layout_height="wrap_content"
  584. android:layout_alignBottom="@+id/imageView7"
  585. android:layout_alignLeft="@+id/textView2"
  586. android:layout_alignStart="@+id/textView2"
  587. android:text="locatie" />
  588.  
  589. <ImageView
  590. android:id="@+id/imageView8"
  591. android:layout_width="wrap_content"
  592. android:layout_height="wrap_content"
  593. android:layout_alignEnd="@+id/imageView7"
  594. android:layout_alignRight="@+id/imageView7"
  595. android:layout_centerVertical="true"
  596. app:srcCompat="@drawable/smartphone_call" />
  597.  
  598. <TextView
  599. android:id="@+id/textView9"
  600. android:layout_width="wrap_content"
  601. android:layout_height="wrap_content"
  602. android:layout_alignBottom="@+id/imageView8"
  603. android:layout_alignLeft="@+id/textView8"
  604. android:layout_alignStart="@+id/textView8"
  605. android:text="tele" />
  606.  
  607. <ImageView
  608. android:id="@+id/imageView9"
  609. android:layout_width="wrap_content"
  610. android:layout_height="wrap_content"
  611. android:layout_alignEnd="@+id/imageView8"
  612. android:layout_alignRight="@+id/imageView8"
  613. android:layout_below="@+id/textView9"
  614. app:srcCompat="@drawable/user_name" />
  615.  
  616. <TextView
  617. android:id="@+id/textView10"
  618. android:layout_width="wrap_content"
  619. android:layout_height="wrap_content"
  620. android:layout_alignBottom="@+id/imageView9"
  621. android:layout_alignLeft="@+id/textView9"
  622. android:layout_alignStart="@+id/textView9"
  623. android:text="persoana" />
  624.  
  625. <RelativeLayout
  626. android:layout_width="match_parent"
  627. android:layout_height="75dp"
  628. android:layout_marginTop="155dp">
  629.  
  630. <Button
  631. android:id="@+id/go_to"
  632. android:layout_width="wrap_content"
  633. android:layout_height="wrap_content"
  634. android:layout_alignParentEnd="true"
  635. android:layout_alignParentRight="true"
  636. android:layout_marginRight="30dp"
  637. android:layout_marginTop="10dp"
  638. android:text="GO TO"
  639. android:textColor="@color/button_text_color" />
  640.  
  641. <Button
  642. android:id="@+id/call"
  643. android:layout_width="wrap_content"
  644. android:layout_height="wrap_content"
  645. android:layout_alignBaseline="@+id/go_to"
  646. android:layout_alignBottom="@+id/go_to"
  647. android:layout_alignParentLeft="true"
  648. android:layout_alignParentStart="true"
  649. android:layout_marginLeft="29dp"
  650. android:layout_marginStart="29dp"
  651. android:layout_marginTop="10dp"
  652. android:text="Call"
  653. android:textColor="@color/button_text_color" />
  654. </RelativeLayout>
  655.  
  656. </RelativeLayout>
  657.  
  658. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  659. android:layout_width="match_parent"
  660. android:layout_height="wrap_content"
  661. android:orientation="vertical"
  662. android:layout_marginTop="235dp"
  663. android:padding="10dp">
  664.  
  665.  
  666. <ListView
  667. android:id="@+id/list"
  668. android:layout_width="match_parent"
  669. android:layout_height="match_parent" />
  670. </RelativeLayout>
  671.  
  672. </RelativeLayout>
  673.  
  674.  
  675.  
  676.  
  677. ////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement