User Profile

viniti vaddepalli QnA

viniti vaddepalli

Btech
  • 0Followers
  • 0Experience
  • 21Questions
  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    Here is the situation. I have an app with a Google Maps fragment which works very nice when I run it on my Android Phone through USB. The maps shows as it should. But when I upload it on Google Play and install it from there, the maps is blank and the log shows: “INTERACT_ACROSS_USERS_FULL”.

    I've done some searching around and I found that it is a matter of signature. From a previous thread, someone recommended to add the following in the manifest:

    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" android:protectionLevel="signature"/>

    I have tried first with "signatureOrSystem" (from a previous thread) and now I'm trying with "signature" (waiting on Google Play now), but this is a blind thing to do, as I don't understand what it does. I also saw this:

    "signature" A permission that the system grants only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval.

    Unfortunately, I don't understand what this means. What does this mean: "if the requesting application is signed with the same certificate as the application that declared the permission".

    For GooglePlay, I have created a certificate from scratch and attach it to the release.apk (Generate Signed APK). Was there a way to connect this certificate to the app itself? I'm really sorry for so many dumb questions, but I would really like to understand how to solve this issue.

    Thank you in advance!

  • viniti vaddepalli QnA

    viniti vaddepalli started a new conversation Google Play Store : Supported devices 0 on Google play 11 months ago ago

    I am trying to use this However that gives me error .

    I uploaded an app to Google Play Store but it is incompatible with all the devices. The app is actually a SignalR based chat application. Check out this image enter image description here

    I am attaching the AndroidManifest.xml file.Any help would be appreciated.

    <uses-feature
    android:glEsVersion="0x00020000"
    android:required="true"/>
    
    <supports-screens 
          android:smallScreens="true" 
          android:normalScreens="true" 
          android:largeScreens="true"
          android:xlargeScreens="true"
          android:anyDensity="true" />
    <uses-sdk
        android:minSdkVersion="11"
        android:targetSdkVersion="19" 
        android:maxSdkVersion="21" />
    
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission     android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

     

    I am using signalr library.I am using this library for a chat app in android. I firstly developed eclipse based project and use the jar files.The app is working fine.

    But when i try to upload the app to the Google Play.It shows me a message that your app doesn't supports any devices. I even tried to upload the app without the libraries then it gets uploaded supports over 6K android devices.

    As this library is updated for gradle for android.So i simply convert it into gradle project for android studio as well.Works perfectly but still won't supports any devices.

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    this is my code

     

    <Spinner
        android:id="@+id/spinner"
        android:layout_width="match_parent"
        android:layout_height="?actionBarSize"
     style="@style/SpinnerItemStyle"
        android:layout_marginRight="@dimen/layout_padding_5dp"
        android:entries="@array/currency" />

     

    inn style.xml

    <style name="SpinnerItemStyle" parent="@android:style/Widget.Holo.DropDownItem.Spinner">
        <item name="android:textColor">@color/dark_grey_txt_color</item>
        <item name="android:textSize">@dimen/normal_text_size</item>
    </style>

     

    still isnt working

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    Main.java

    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);
    setTitle("Edit Account Details");
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    getSupportActionBar().setDisplayShowHomeEnabled(true);

     

    I am getting this error for the action bar

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    I have made customized action bar, with the image button instead of using the action bar. How will i get the back button in the action bar. With the desired different title in every page. Can i get the using xml code or do i need to code inn java file.

     

    This isthe  following code  i used

    layout file

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="?actionBarSize"
        android:orientation="horizontal"
        >
        <ImageButton
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="2"
            android:src="@drawable/ic_left_arrow"
            android:background="@android:color/transparent"
            />
    
        <TextView
            android:id="@+id/textView7"
            style="@style/actionbar1White"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="0.2"
            android:text="Edit Account Details" />
    </LinearLayout>

     

    manifest file

    <activity android:name=".Personal_Details"
        android:theme="@style/AppTheme.NoActionBar">
    </activity>

     

     

  • viniti vaddepalli QnA

    viniti vaddepalli started a new conversation how to get round picture in using xml code android. 1 years ago ago

    I am trying to use this However that gives me error .

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

  • viniti vaddepalli QnA

    viniti vaddepalli started a new conversation how to change color of menu item in android 1 years ago ago

    I am trying to use this However that gives me error .

    This is my menu.xml

     

    <menu xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:android="http://schemas.android.com/apk/res/android">
        <item
            android:id="@+id/menu_home"
            android:title="@string/btm_menu_home"
            android:icon="@drawable/ic_group_icon"
    
            />
    
        <item
            android:id="@+id/menu_profile"
            android:icon="@drawable/ic_group_icon"
            android:title="@string/btm_menu_profile"
    
            />
        <item
            android:id="@+id/menu_status"
            android:title="@string/btm_menu_status"
            android:icon="@drawable/ic_group_icon" />
    
        <item
            android:id="@+id/menu_expenses"
            android:title="@string/btm_menu_Expences"
            android:icon="@drawable/ic_group_icon" />
        <item
            android:id="@+id/menu_invite"
            android:title="@string/btm_menu_invite"
            android:icon="@drawable/ic_group_icon" />
    </menu>
  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    Why this error raise here. How can i resolve this?

    HomePage.java
    import android.graphics.Color;
    import android.os.Bundle;
    import android.support.annotation.NonNull;
    import android.support.design.widget.BottomNavigationView;
    import android.support.design.widget.FloatingActionButton;
    import android.support.design.widget.Snackbar;
    import android.support.v4.app.Fragment;
    import android.support.v4.app.FragmentManager;
    import android.support.v4.app.FragmentTransaction;
    import android.support.v7.widget.LinearLayoutManager;
    import android.support.v7.widget.RecyclerView;
    import android.view.View;
    import android.support.design.widget.NavigationView;
    import android.support.v4.view.GravityCompat;
    import android.support.v4.widget.DrawerLayout;
    import android.support.v7.app.ActionBarDrawerToggle;
    import android.support.v7.app.AppCompatActivity;
    import android.support.v7.widget.Toolbar;
    import android.view.Menu;
    import android.view.MenuItem;
    import android.graphics.PorterDuff;
    
    import com.ittech.example.Adapters.HorizontalAdapter;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Map;
    
    public class HomePage extends AppCompatActivity
            implements NavigationView.OnNavigationItemSelectedListener {
    //for bottom navigation
     private static final String SELECTED_ITEM = "arg_selected_item";
        private BottomNavigationView mBottomNav;
        private int mSelectedItem;
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_home_page);
            Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    
            setSupportActionBar(toolbar);
    
            DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
            ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
                    this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
            drawer.setDrawerListener(toggle);
            toggle.syncState();
    
            NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
            navigationView.setNavigationItemSelectedListener(this);
            FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
            fab.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View view) {
                    Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                            .setAction("Action", null).show();
                }
            });
    
    
            //for bottom navigation
            mBottomNav = (BottomNavigationView) findViewById(R.id.navigation);
            mBottomNav.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {
                @Override
                public boolean onNavigationItemSelected(@NonNull MenuItem item) {
                    selectFragment(item);
                    return true;
                }
            });
    
            MenuItem selectedItem;
            if (savedInstanceState != null) {
                mSelectedItem = savedInstanceState.getInt(SELECTED_ITEM, 0);
                selectedItem = mBottomNav.getMenu().findItem(mSelectedItem);
            } else {
                selectedItem = mBottomNav.getMenu().getItem(0);
            }
            selectFragment(selectedItem);
    
        }
    
        @Override
        public void onBackPressed() {
            DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
            if (drawer.isDrawerOpen(GravityCompat.START)) {
                drawer.closeDrawer(GravityCompat.START);
            } else {
                super.onBackPressed();
            }
        }
        private void selectFragment(MenuItem item) {
            Fragment frag = null;
            // init corresponding fragment
            switch (item.getItemId()) {
                case R.id.menu_home:
                    frag = new Home_Fragment();
                    FragmentManager manager = getSupportFragmentManager();
                    FragmentTransaction transaction = manager.beginTransaction();
                    transaction.replace(R.id.container,frag);
                    transaction.commit();
                    break;
                case R.id.menu_notifications:
    //                frag = MenuFragment.newInstance(getString(R.string.text_notifications),
    //                        getColorFromRes(R.color.color_notifications));
                    break;
                case R.id.menu_search:
    //                frag = MenuFragment.newInstance(getString(R.string.text_search),
    //                        getColorFromRes(R.color.color_search));
                    break;
            }
    
            // update selected item
            mSelectedItem = item.getItemId();
    
            // uncheck the other items.
            for (int i = 0; i< mBottomNav.getMenu().size(); i++) {
                MenuItem menuItem = mBottomNav.getMenu().getItem(i);
                menuItem.setChecked(menuItem.getItemId() == item.getItemId());
            }
    
    
    
            if (frag != null) {
                FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
                ft.add(R.id.container, frag, frag.getTag());
                ft.commit();
            }
        }
    
        @SuppressWarnings("StatementWithEmptyBody")
        @Override
        public boolean onNavigationItemSelected(MenuItem item) {
            // Handle navigation view item clicks here.
            int id = item.getItemId();
    
            if (id == R.id.nav_camera) {
                // Handle the camera action
            } else if (id == R.id.nav_gallery) {
    
            } else if (id == R.id.nav_slideshow) {
    
            } else if (id == R.id.nav_manage) {
    
            } else if (id == R.id.nav_share) {
    
            } else if (id == R.id.nav_send) {
    
            }
    
            DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
            drawer.closeDrawer(GravityCompat.START);
            return true;
        }
    }
    
    Homepagefragment.java
    import android.os.Bundle;
    import android.support.annotation.Nullable;
    import android.support.design.widget.NavigationView;
    import android.support.v4.app.Fragment;
    import android.support.v7.widget.LinearLayoutManager;
    import android.support.v7.widget.RecyclerView;
    import android.view.LayoutInflater;
    import android.view.View;
    import android.view.ViewGroup;
    import android.widget.TextView;
    
    import com.ittech.example.Adapters.HorizontalAdapter;
    
    import java.util.ArrayList;
    
    /**
     * Created by viniti on 9/21/2017.
     */
    
    public class Home_Fragment extends Fragment {
        private String mText;
        private int mColor;
    
        private View mContent;
        private TextView mTextView;
        private RecyclerView horizontal_recycler_view, horizontal_recycler_view_groups,horizontal_recycler_view_management,horizontal_recycler_view_friends;
        private ArrayList<String> horizontalList,horizontalList_groups,horizontalList_management,horizontalList_friends;
        private ArrayList<Integer> horizontalImg,horizontalImg_groups,horizontalImg_management,horizontalImg_friends;
        HorizontalAdapter horizontalAdapter,horizontalAdapter_groups,horizontalAdapter_management,horizontalAdapter_friends;
    
        @Override
        public View onCreateView(LayoutInflater inflater, ViewGroup container,
                                 Bundle savedInstanceState) {
            // Inflate the layout for this fragment
    
            View view= inflater.inflate(R.layout.home_fragment, container, false);
    
            //for recyclerView
    
            horizontal_recycler_view_management=(RecyclerView) view.findViewById(R.id.horizontal_recycler_view_management);
            horizontal_recycler_view = (RecyclerView) view.findViewById(R.id.horizontal_recycler_view_recent_activity);
            horizontal_recycler_view_groups = (RecyclerView) view.findViewById(R.id.horizontal_recycler_view_groups);
            horizontal_recycler_view_friends = (RecyclerView) view.findViewById(R.id.horizontal_recycler_view_friends);
    
            horizontalList_friends = new ArrayList<>();
    
            horizontalList_friends.add("friend");
            horizontalList_friends.add("friend 2");
            horizontalList_friends.add("friend 3");
            horizontalList_friends.add("friend 4");
            horizontalList_friends.add("friend 5");
    
            horizontalImg_friends = new ArrayList<>();
            horizontalImg_friends.add(R.drawable.ic_friends_icon);
            horizontalImg_friends.add(R.drawable.ic_friends_icon);
            horizontalImg_friends.add(R.drawable.ic_friends_icon);
            horizontalImg_friends.add(R.drawable.ic_friends_icon);
            horizontalImg_friends.add(R.drawable.ic_friends_icon);
    
    
    
            horizontalList_management = new ArrayList<>();
    
            horizontalList_management.add("Bill");
            horizontalList_management.add("Event");
            horizontalList_management.add("Loan");
            horizontalList_management.add("WishList");
            horizontalList_management.add("Reminder");
    
            horizontalImg_management = new ArrayList<>();
            horizontalImg_management.add(R.drawable.ic_billing);
            horizontalImg_management.add(R.drawable.ic_event_icon);
            horizontalImg_management.add(R.drawable.ic_loan_icon);
            horizontalImg_management.add(R.drawable.ic_wishlist_icon);
            horizontalImg_management.add(R.drawable.ic_reminder_icon);
    
    
    
            horizontalList = new ArrayList<>();
    
            horizontalList.add("activity 1");
            horizontalList.add("activity 2");
            horizontalList.add("activity 3");
            horizontalList.add("activity 4");
            horizontalList.add("activity 6");
            horizontalList.add("activity 7");
            horizontalList.add("activity 6");
            horizontalList.add("activity 6");
            horizontalList.add("activity 6");
            horizontalList.add("activity 6");
    
            horizontalImg = new ArrayList<>();
            horizontalImg.add(R.drawable.ic_recent_activity);
            horizontalImg.add(R.drawable.ic_friends_icon);
            horizontalImg.add(R.drawable.ic_recent_activity);
            horizontalImg.add(R.drawable.ic_friends_icon);
            horizontalImg.add(R.drawable.ic_recent_activity);
            horizontalImg.add(R.drawable.ic_friends_icon);
            horizontalImg.add(R.drawable.ic_recent_activity);
            horizontalImg.add(R.drawable.ic_recent_activity);
            horizontalImg.add(R.drawable.ic_recent_activity);
            horizontalImg.add(R.drawable.ic_recent_activity);
    
    
    
            horizontalList_groups = new ArrayList<>();
    
            horizontalList_groups.add("group 1");
            horizontalList_groups.add("group 2");
            horizontalList_groups.add("group 3");
            horizontalList_groups.add("group 4");
            horizontalList_groups.add("group 5");
            horizontalList_groups.add("group 6");
            horizontalList_groups.add("group 7");
            horizontalList_groups.add("group 7");
            horizontalList_groups.add("group 8");
            horizontalList_groups.add("group 9");
    
            horizontalImg_groups = new ArrayList<>();
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
            horizontalImg_groups.add(R.drawable.ic_group_icon);
    
            horizontalAdapter = new HorizontalAdapter(horizontalList, horizontalImg, getActivity());
            horizontalAdapter_management = new HorizontalAdapter(horizontalList_management, horizontalImg_management, getActivity());
            horizontalAdapter_friends = new HorizontalAdapter(horizontalList_friends, horizontalImg_friends, getActivity());
            LinearLayoutManager horizontalLayoutManagaer = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);
            LinearLayoutManager horizontalLayoutgroupsManagaer = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);
            LinearLayoutManager horizontalLayout_management_Managaer = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);
            LinearLayoutManager horizontalLayout_friends_Managaer = new LinearLayoutManager(getActivity(), LinearLayoutManager.HORIZONTAL, false);
            horizontal_recycler_view.setLayoutManager(horizontalLayoutManagaer);
            horizontal_recycler_view.setAdapter(horizontalAdapter);
            horizontal_recycler_view_groups.setLayoutManager(horizontalLayoutgroupsManagaer);
            horizontal_recycler_view_management.setLayoutManager(horizontalLayout_management_Managaer);
            horizontal_recycler_view_friends.setLayoutManager(horizontalLayout_friends_Managaer);
            horizontal_recycler_view_groups.setAdapter( new HorizontalAdapter(horizontalList_groups, horizontalImg_groups, getActivity()));
            horizontal_recycler_view_management.setAdapter( new HorizontalAdapter(horizontalList_management, horizontalImg_management, getActivity()));
            horizontal_recycler_view_friends.setAdapter( new HorizontalAdapter(horizontalList_friends, horizontalImg_friends, getActivity()));
            return view;
        }
    }
    
  • viniti vaddepalli QnA

    viniti vaddepalli started a new conversation How to implement recyclerView android? 1 years ago ago

    I am trying to use this However that gives me error .

  • viniti vaddepalli QnA

    viniti vaddepalli started a new conversation How to get rounded corners in the editText (android) 1 years ago ago

    I am trying to use this However that gives me error .

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    I have tried to get the pop-up page in the card view, but the pop-up layout is not shown on the cardView. itz opening beneath the floating button, and how to link the pop-up page's layout attributes with the main fragment activity

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    the following is the java code

       private TabLayout tabLayout;
        private ViewPager viewPager;
        private int[] tabIcons = {
                R.drawable.ic_dashboard_menubar_icon,
                R.drawable.ic_recent_menu_icon,
                R.drawable.ic_expences_menu_bar_icon,
                R.drawable.ic_group_menu_icon,
                R.drawable.ic_friends_menu_icon
        };
    
        public HomeFragment() {
            // Required empty public constructor
        }
    
    
        @Override
        public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    
            View view = inflater.inflate(R.layout.fragment_home, container, false);
    
            viewPager = (ViewPager) view.findViewById(R.id.viewpager);
            setupViewPager(viewPager);
    
            tabLayout = (TabLayout) view.findViewById(R.id.tabs);
            tabLayout.setupWithViewPager(viewPager);
            setupTabIcons();
            num= num+1;
    
            Toast.makeText(getActivity(),"hello"+num,Toast.LENGTH_LONG).show();
            // Inflate the layout for this fragment
            return view;
        }
    
        private void setupTabIcons() {
            tabLayout.getTabAt(0).setIcon(tabIcons[0]);
            tabLayout.getTabAt(1).setIcon(tabIcons[1]);
            tabLayout.getTabAt(2).setIcon(tabIcons[2]);
            tabLayout.getTabAt(3).setIcon(tabIcons[3]);
            tabLayout.getTabAt(4).setIcon(tabIcons[4]);
        }
    
        private void setupViewPager(ViewPager viewPager) {
            ViewPagerAdapter adapter = new ViewPagerAdapter(getActivity().getSupportFragmentManager());
            adapter.addFrag(new Fragment_DashBoard());
            adapter.addFrag(new Fragment_Recent_Activities());
            adapter.addFrag(new Fragment_All_Expenses());
            adapter.addFrag(new Fragment_Groups());
            adapter.addFrag(new Fragments_Friends());
            viewPager.setAdapter(adapter);
        }
    
        class ViewPagerAdapter extends FragmentPagerAdapter {
            private final List<Fragment> mFragmentList = new ArrayList<>();
            private final List<String> mFragmentTitleList = new ArrayList<>();
    
            public ViewPagerAdapter(FragmentManager manager) {
                super(manager);
            }
    
            @Override
            public Fragment getItem(int position) {
                return mFragmentList.get(position);
            }
    
            @Override
            public int getCount() {
                return mFragmentList.size();
            }
    
            public void addFrag(Fragment fragment, String title) {
                mFragmentList.add(fragment);
                mFragmentTitleList.add(title);
            }
            public void addFrag(Fragment fragment) {
                mFragmentList.add(fragment);
            }
           /* @Override
            public CharSequence getPageTitle(int position) {
                return mFragmentTitleList.get(position);
            }*/
    
        }
    
    
    
    }
  • viniti vaddepalli QnA

    viniti vaddepalli started a new conversation how to use fragment in navigation drawer? 1 years ago ago

    I am trying to use this However that gives me error .

    I do not want to use the activity in every page, i want to use fragments.

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    <style name="MyButton" parent="MyMaterialTheme.Base">
        <item name="colorControlHighlight">#fff</item>
        <item name="colorButtonNormal">#4ba6eb</item>
        <item name="android:textColor">#fff</item>
        <item name="android:textAllCaps">true</item>
        <item name="android:paddingLeft">20dp</item>
        <item name="android:layout_marginBottom">5dp</item>
        <item name="android:padding">10dp</item>
        <item name="android:elevation">20dp</item>
    </style>
  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    <?xml version="2.0" encoding="utf-8"?>
    <LinearLayout 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"
        tools:context="com.yaadsay.Notification_Settings"
        android:orientation="vertical">
    
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="?actionBarSize"
            >
            <TextView
                style="@style/actionbar1"
                android:layout_width="match_parent"
                android:layout_height="?actionBarSize"
                />
        </LinearLayout>
        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:padding="10dp"
    
            >
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                style="@style/textsize"
                android:text="GROUPS AND FRIENDS"
                   />
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="When someone adds me to a group"
                    android:layout_weight="1"
                    android:gravity="center_vertical"
                    style="@style/Label_text_color"
                    />
                <ImageButton
    
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                style="@style/notification_image_button"
    
    
    
                     />
    
    
            </LinearLayout>
    
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="When someone adds me as a friend"
                    android:gravity="center_vertical"
                    android:layout_weight="1"
                    style="@style/Label_text_color"
                    />
                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    style="@style/notification_image_button"
    
    
                    />
                    </LinearLayout>
    
    
    </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">
            <TextView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                style="@style/textsize"
                android:text="Expenses"
                android:textAllCaps="true"
                />
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="when a bill is edited/deleted"
                    android:gravity="center_vertical"
                    android:layout_weight="1"
                    style="@style/Label_text_color"
                    />
                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    style="@style/notification_image_button"
    
    
                    />
    
    
            </LinearLayout>
    
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="When someone comments on the bill"
                    android:gravity="center_vertical"
                    android:layout_weight="1"
                    style="@style/Label_text_color"
                    />
                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    style="@style/notification_image_button"
    
    
                    />
            </LinearLayout>
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="When a bill is due"
                    android:gravity="center_vertical"
                    android:layout_weight="1"
                    style="@style/Label_text_color"
                    />
                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    style="@style/notification_image_button"
                    />
            </LinearLayout>
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="When someome pays me"
                    android:gravity="center_vertical"
                    android:layout_weight="1"
                    style="@style/Label_text_color"
                    />
                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    style="@style/notification_image_button"
    
                    />
            </LinearLayout>
    
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">
            <TextView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                style="@style/textsize"
                android:text="NEWS AND UPDATES"
    
                />
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="Monthly summary of my activity"
                    android:gravity="center_vertical"
                    android:layout_weight="1"
                    style="@style/Label_text_color"
                    />
                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    style="@style/notification_image_button"
    
                                   />
    
    
            </LinearLayout>
    
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                >
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="Major Yaadsay news and updates"
                    android:gravity="center_vertical"
                    android:layout_weight="1"
    style="@style/Label_text_color"
                    />
                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    style="@style/notification_image_button"
    
                                    />
            </LinearLayout>
    
    
        </LinearLayout>
        
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="#fdfafa"
            android:text="Save Changes"
            android:paddingRight="20dp"
            android:paddingLeft="20dp"
            style="@style/textsize"
            android:background="#f2692f"
            android:textAllCaps="false"
            />
        </LinearLayout>
        </ScrollView>
    
        </LinearLayout>
    
    
  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .

    how can i implement time zone in the spinner 
    <Spinner
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAlignment="center"
       >
    
    </Spinner>
  • viniti vaddepalli QnA

    I am trying to use this However that gives me error .