thkouk00

home screen integration v1

Showing 28 changed files with 745 additions and 0 deletions
......@@ -9,6 +9,7 @@ import androidx.fragment.app.Fragment;
import com.google.android.material.bottomnavigation.BottomNavigationView;
import com.google.android.material.navigation.NavigationBarView;
import ly.warp.sdk.fragments.HomeFragment;
import ly.warp.sdk.fragments.LoyaltyFragment;
import warp.ly.android_sdk.R;
......@@ -50,6 +51,10 @@ public class MainActivity extends BaseActivity implements NavigationBarView.OnIt
mFragmentToSet = LoyaltyFragment.newInstance();
getSupportFragmentManager().beginTransaction().replace(R.id.fl_fragment, mFragmentToSet).commit();
return true;
case R.id.menu_home:
mFragmentToSet = HomeFragment.newInstance();
getSupportFragmentManager().beginTransaction().replace(R.id.fl_fragment, mFragmentToSet).commit();
return true;
}
return false;
}
......@@ -60,6 +65,8 @@ public class MainActivity extends BaseActivity implements NavigationBarView.OnIt
private void initViews() {
mBottomNavigationView.setOnItemSelectedListener(this);
mFragmentToSet = HomeFragment.newInstance();
getSupportFragmentManager().beginTransaction().add(R.id.fl_fragment, mFragmentToSet).commit();
mBottomNavigationView.setSelectedItemId(R.id.menu_home);
}
......
package ly.warp.sdk.fragments;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import ly.warp.sdk.R;
public class HomeFragment extends Fragment {
private RelativeLayout mOptionOne;
private RelativeLayout mOptionTwo;
private RelativeLayout mOptionThree;
@Override
public View onCreateView(
LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState
) {
return inflater.inflate(R.layout.fragment_home, container, false);
}
public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
// binding.buttonFirst.setOnClickListener(new View.OnClickListener() {
// @Override
// public void onClick(View view) {
// NavHostFragment.findNavController(FirstFragment.this)
// .navigate(R.id.action_FirstFragment_to_SecondFragment);
// }
// });
// binding.llAdd.setOnClickListener(new View.OnClickListener() {
// @Override
// public void onClick(View view) {
// Log.v("LL ADD", "Clicked");
// }
// });
mOptionOne = (RelativeLayout) view.findViewById(R.id.info_button);
TextView mOptionOneText = (TextView) mOptionOne.findViewById(R.id.option_text);
ImageView mOptionOneImage = (ImageView) mOptionOne.findViewById(R.id.option_icon);
mOptionOneText.setText("2");
mOptionOneImage.setImageResource(R.drawable.mobile_option);
mOptionTwo = (RelativeLayout) view.findViewById(R.id.info_button2);
TextView mOptionTwoText = (TextView) mOptionTwo.findViewById(R.id.option_text);
ImageView mOptionTwoImage = (ImageView) mOptionTwo.findViewById(R.id.option_icon);
mOptionTwoText.setText("1");
mOptionTwoImage.setImageResource(R.drawable.phone_option);
mOptionThree = (RelativeLayout) view.findViewById(R.id.info_button3);
TextView mOptionThreeText = (TextView) mOptionThree.findViewById(R.id.option_text);
ImageView mOptionThreeImage = (ImageView) mOptionThree.findViewById(R.id.option_icon);
mOptionThreeText.setText("1");
mOptionThreeImage.setImageResource(R.drawable.tv_option);
}
@Override
public void onDestroyView() {
super.onDestroyView();
}
public static Fragment newInstance() {
HomeFragment homeFragment = new HomeFragment();
return homeFragment;
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#FFFFFF"/>
<stroke android:width="3dp" android:color="#B1BCBE" />
<corners android:radius="10dp"/>
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffffff"/>
<stroke
android:width="1.5dp"
android:color="#3C464F" />
<padding
android:left="1dp"
android:top="1dp"
android:right="1dp"
android:bottom="1dp" />
<corners
android:topLeftRadius="10dp"
android:topRightRadius="10dp"
android:bottomLeftRadius="10dp"
android:bottomRightRadius="10dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<size android:width="1dp"/>
<solid android:color="#787878"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#FFFFFF"/>
<stroke android:width="3dp" android:color="#B1BCBE" />
<corners android:radius="1000dp"/>
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffffff"/>
<stroke
android:width="1.5dp"
android:color="#3C464F" />
<padding
android:left="1dp"
android:top="1dp"
android:right="1dp"
android:bottom="1dp" />
<corners android:radius="1000dp"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/option_icon"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerVertical="true"
android:src="@drawable/phone_option"/>
<TextView
android:id="@+id/option_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1"
android:layout_marginLeft="30dp"
android:layout_marginTop="14dp"/>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="215dp"
android:background="@drawable/bottom_border">
<LinearLayout
android:id="@+id/ll_carousel_icon"
android:layout_width="match_parent"
android:layout_height="150dp">
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/carousel_banner"
android:scaleType="fitXY"
tools:layout_editor_absoluteY="-44dp" />
</LinearLayout>
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="65dp"
android:paddingHorizontal="15dp"
android:paddingVertical="10dp"
android:text="Χρόνια πολλά με υγεία! Σου κάνουμε δώρο 5GB για τη γιορτή σου!"
app:layout_constraintTop_toBottomOf="@+id/ll_carousel_icon"
tools:layout_editor_absoluteX="-15dp" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="250dp">
<androidx.constraintlayout.widget.Guideline
android:id="@+id/horizontal_guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.18" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/horizontal_guideline2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.75" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/vertical_guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.85" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/vertical_guideline2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.14" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="403dp"
android:layout_height="238dp"
android:scaleType="fitXY"
android:src="@drawable/coupon_wrapper"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="300dp"
android:layout_height="150dp"
android:paddingHorizontal="5dp"
app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2"
app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf="@+id/horizontal_guideline">
<TextView
android:id="@+id/tv_coupon_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:maxLines="1"
android:text="Αποκλειστικά για σένα"
app:layout_constraintBottom_toTopOf="@+id/tv_coupon_subtitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.2" />
<ImageView
android:layout_width="80dp"
android:layout_height="60dp"
android:src="@drawable/sklavenitis_logo"
app:layout_constraintBottom_toTopOf="@+id/tv_coupon_subtitle"
app:layout_constraintEnd_toEndOf="@+id/tv_coupon_subtitle"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/tv_coupon_title"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1.0" />
<TextView
android:id="@+id/tv_coupon_subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:maxLines="2"
android:text="10€ έκπτωση στα ψώνια σου στα supermarket Σκλαβενίτης!"
app:layout_constraintBottom_toTopOf="@+id/button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<Button
android:id="@+id/button"
android:layout_width="150dp"
android:layout_height="40dp"
android:background="@drawable/round_border"
android:text="Εξαργύρωση"
android:textAlignment="center"
android:textSize="11dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#77B9AB">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="50dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/rl_header"
android:layout_width="match_parent"
android:layout_height="150dp"
android:background="@android:color/white"
android:orientation="horizontal"
android:paddingHorizontal="16dp"
android:paddingVertical="16dp">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/user_img"
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@drawable/banner1" />
<RelativeLayout
android:id="@+id/rl_user_info"
android:layout_width="200dp"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/user_img"
android:orientation="vertical"
android:paddingLeft="10dp"
app:layout_constraintStart_toEndOf="@+id/user_img"
tools:layout_editor_absoluteY="-10dp">
<TextView
android:id="@+id/welcome_user_txt"
android:layout_width="230dp"
android:layout_height="wrap_content"
android:scrollHorizontally="true"
android:text="@string/welcome_user" />
<ImageView
android:id="@+id/cosmote_one"
android:layout_width="100dp"
android:layout_height="30dp"
android:layout_below="@+id/welcome_user_txt"
android:layout_marginTop="0dp"
android:src="@drawable/cosmote_one" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/cosmote_one">
<include
android:id="@+id/info_button"
layout="@layout/button_with_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<include
android:id="@+id/info_button2"
layout="@layout/button_with_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp" />
<include
android:id="@+id/info_button3"
layout="@layout/button_with_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp" />
</LinearLayout>
</RelativeLayout>
<ImageView
android:layout_width="25dp"
android:layout_height="25dp"
android:src="@drawable/filters_icon"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.663"
app:layout_constraintStart_toEndOf="@+id/rl_user_info"
tools:layout_editor_absoluteY="-1dp" />
</androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout
android:id="@+id/rl_home_campaigns"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rl_header"
android:paddingHorizontal="12dp">
<include layout="@layout/carousel_item" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_home_coupons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rl_home_campaigns"
android:paddingHorizontal="15dp">
<include layout="@layout/coupon_layout"/>
</RelativeLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/rl_home_info_widget"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rl_home_coupons"
android:layout_marginHorizontal="10dp"
android:background="@drawable/banner_border">
<include layout="@layout/info_widget" />
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/hsv_title"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_below="@+id/rl_home_info_widget"
android:layout_marginTop="20dp"
android:background="@android:color/white"
android:paddingHorizontal="25dp"
android:paddingTop="10dp"
android:text="Βρες γρήγορα"
android:textColor="#3C464F" />
<HorizontalScrollView
android:id="@+id/ll_add"
android:layout_width="match_parent"
android:layout_height="110dp"
android:layout_below="@id/hsv_title"
android:background="@android:color/white"
android:paddingBottom="10dp"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@drawable/divider"
android:showDividers="middle">
<LinearLayout
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/doc" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Πληρωμή λογαριασμού"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
<LinearLayout
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/message" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Υποστήριξη"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
<LinearLayout
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/doc" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Πληρωμή λογαριασμού"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
</LinearLayout>
</HorizontalScrollView>
</RelativeLayout>
</ScrollView>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="300dp"
android:paddingHorizontal="10dp">
<androidx.constraintlayout.widget.Guideline
android:id="@+id/horizontal_guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.15" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/horizontal_guideline2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.85" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/vertical_guideline0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.03" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/vertical_guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.36" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/vertical_guideline2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.62" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="Έχεις διαθέσιμα 5.6 GB"
android:textSize="17dp"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2"
app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
app:layout_constraintHorizontal_bias="0.271"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/horizontal_guideline"
app:layout_constraintVertical_bias="0.0" />
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyle"
android:layout_width="130dp"
android:layout_height="134dp"
android:progress="80"
app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.407"
app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf="@+id/horizontal_guideline"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="5.6"
app:layout_constraintBottom_toBottomOf="@+id/progressBar"
app:layout_constraintEnd_toEndOf="@+id/progressBar"
app:layout_constraintHorizontal_bias="0.537"
app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf="@+id/horizontal_guideline" />
<ImageView
android:id="@+id/imageView3"
android:layout_width="94dp"
android:layout_height="36dp"
app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
app:layout_constraintTop_toBottomOf="@+id/progressBar"
app:srcCompat="@drawable/cosmote_one" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_widget_phone"
android:layout_width="131dp"
android:layout_height="43dp"
android:orientation="horizontal"
app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline"
app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/vertical_guideline0"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/iv_widget_phone"
android:layout_width="32dp"
android:layout_height="18dp"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.48"
app:srcCompat="@drawable/smartphone" />
<TextView
android:id="@+id/tv_widget_phone_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Το κινητό μου"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/iv_widget_phone"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:id="@+id/imageView5"
android:layout_width="84dp"
android:layout_height="28dp"
app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline"
app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
app:layout_constraintStart_toEndOf="@+id/cl_widget_phone"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/cosmote_one" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_widget_mb"
android:layout_width="131dp"
android:layout_height="43dp"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2">
<ImageView
android:id="@+id/iv_widget_mb"
android:layout_width="32dp"
android:layout_height="18dp"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.48"
app:srcCompat="@drawable/smartphone" />
<TextView
android:id="@+id/tv_widget_mb_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Το κινητό μου"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/iv_widget_mb"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_widget_talk"
android:layout_width="100dp"
android:layout_height="34dp"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
app:layout_constraintStart_toStartOf="@+id/vertical_guideline"
app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2">
<ImageView
android:id="@+id/iv_widget_talk"
android:layout_width="32dp"
android:layout_height="18dp"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.48"
app:srcCompat="@drawable/smartphone" />
<TextView
android:id="@+id/tv_widget_talk_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Ομιλία"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/iv_widget_talk"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_widget_sms"
android:layout_width="140dp"
android:layout_height="35dp"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2">
<ImageView
android:id="@+id/iv_widget_sms"
android:layout_width="32dp"
android:layout_height="18dp"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.48"
app:srcCompat="@drawable/smartphone" />
<TextView
android:id="@+id/tv_widget_sms_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="SMS"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/iv_widget_sms"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file