anim/values/
**********anim***********
1) fab_scale_down.xml
=========================
=========================
=========================
=========================
=========================
=========================
=========================
=========================
=========================
=========================
=========================
**********anim***********
1) fab_scale_down.xml
=========================
<?xml version="1.0" encoding="utf-8"?><scale xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_quint" android:fromXScale="1.0" android:toXScale="0.0" android:fromYScale="1.0" android:toYScale="0.0" android:pivotX="50%" android:pivotY="50%" android:duration="200" />2)fab_scale_up.xml
=========================
<?xml version="1.0" encoding="utf-8"?><scale xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/overshoot" android:fromXScale="0.0" android:toXScale="1.0" android:fromYScale="0.0" android:toYScale="1.0" android:pivotX="50%" android:pivotY="50%" android:duration="200" />3) fab_slide_in_from_left .xml
=========================
<?xml version="1.0" encoding="utf-8"?><set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/overshoot"> <alpha android:fromAlpha="0" android:toAlpha="1" android:duration="300" /> <translate android:fromXDelta="-15%p" android:toXDelta="0" android:duration="200" /> </set>4) fab_slide_in_from_right .xml
=========================
<?xml version="1.0" encoding="utf-8"?><set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/overshoot"> <alpha android:fromAlpha="0" android:toAlpha="1" android:duration="300" /> <translate android:fromXDelta="15%p" android:toXDelta="0" android:duration="200" /> </set>5) fab_slide_out_to_left .xml
=========================
<?xml version="1.0" encoding="utf-8"?><set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_quint"> <alpha android:fromAlpha="1" android:toAlpha="0" android:duration="150" /> <translate android:fromXDelta="0" android:toXDelta="-30%p" android:duration="200" /> </set>6) fab_slide_out_to_right.xml
=========================
<?xml version="1.0" encoding="utf-8"?><set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:interpolator/accelerate_quint"> <alpha android:fromAlpha="1" android:toAlpha="0" android:duration="150" /> <translate android:fromXDelta="0" android:toXDelta="30%p" android:duration="200" /> </set>7) scale_animation.xml
=========================
<?xml version="1.0" encoding="utf-8"?><set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator" > <scale android:duration="400" android:fillAfter="true" android:fromXScale="0.5" android:fromYScale="0.5" android:pivotX="50%" android:pivotY="50%" android:toXScale="1.0" android:toYScale="1.0"/> </set>8) slide_in_left.xml
=========================
<?xml version="1.0" encoding="utf-8"?><translate xmlns:android="http://schemas.android.com/apk/res/android" android:duration="@android:integer/config_mediumAnimTime" android:fromXDelta="-100%" android:interpolator="@android:anim/decelerate_interpolator" android:toXDelta="0%" />9) slide_in_right.xml
=========================
<?xml version="1.0" encoding="utf-8"?><translate xmlns:android="http://schemas.android.com/apk/res/android" android:duration="@android:integer/config_mediumAnimTime" android:fromXDelta="100%" android:interpolator="@android:anim/decelerate_interpolator" android:toXDelta="0%" />9) slide_out_left.xml
=========================
<?xml version="1.0" encoding="utf-8"?><translate xmlns:android="http://schemas.android.com/apk/res/android" android:duration="@android:integer/config_mediumAnimTime" android:fromXDelta="0" android:interpolator="@android:anim/decelerate_interpolator" android:toXDelta="-100%" />10) slide_out_right.xml
=========================
<?xml version="1.0" encoding="utf-8"?><translate xmlns:android="http://schemas.android.com/apk/res/android" android:duration="@android:integer/config_mediumAnimTime" android:fromXDelta="0" android:interpolator="@android:anim/decelerate_interpolator" android:toXDelta="100%" />
*********values******************
1) attrs.xml
================================
<?xml version="1.0" encoding="utf-8"?><resources> <declare-styleable name="ShapedImageView"> <attr name="shape_mode" format="enum"> <enum name="round_rect" value="1" /> <enum name="circle" value="2" /> </attr> <attr name="round_radius" format="dimension" /> <attr name="stroke_width" format="dimension" /> <attr name="stroke_color" format="color|reference" /> </declare-styleable> <!--For cropping functionality--> <declare-styleable name="CropImageView"> <attr name="guidelines"> <enum name="on" value="2" /> <enum name="onTouch" value="1" /> <enum name="off" value="0" /> </attr> <attr name="scaleType"> <enum name="centerInside" value="0" /> <enum name="fitCenter" value="1" /> </attr> <attr name="cropShape"> <enum name="rectangle" value="0" /> <enum name="oval" value="1" /> </attr> <attr name="fixAspectRatio" format="boolean" /> <attr name="aspectRatioX" format="integer" /> <attr name="aspectRatioY" format="integer" /> <attr name="snapRadius" format="float" /> <attr name="showProgressBar" format="boolean" /> </declare-styleable> <!--FAB Menu--> <declare-styleable name="FloatingActionButton"> <attr name="fab_colorNormal" format="color" /> <attr name="fab_colorPressed" format="color" /> <attr name="fab_colorDisabled" format="color" /> <attr name="fab_colorRipple" format="color" /> <attr name="fab_showShadow" format="boolean" /> <attr name="fab_shadowColor" format="color" /> <attr name="fab_shadowRadius" format="dimension" /> <attr name="fab_shadowXOffset" format="dimension" /> <attr name="fab_shadowYOffset" format="dimension" /> <attr name="fab_size" format="enum"> <enum name="normal" value="0" /> <enum name="mini" value="1" /> </attr> <attr name="fab_showAnimation" format="reference" /> <attr name="fab_hideAnimation" format="reference" /> <attr name="fab_label" format="string" /> <attr name="fab_elevationCompat" format="dimension" /> <attr name="fab_progress_color" format="color" /> <attr name="fab_progress_backgroundColor" format="color" /> <attr name="fab_progress_indeterminate" format="boolean" /> <attr name="fab_progress_max" format="integer" /> <attr name="fab_progress" format="integer" /> <attr name="fab_progress_showBackground" format="boolean" /> </declare-styleable> <declare-styleable name="FloatingActionMenu"> <attr name="menu_showShadow" format="boolean" /> <attr name="menu_buttonSpacing" format="dimension" /> <attr name="menu_labels_margin" format="dimension" /> <attr name="menu_labels_showAnimation" format="reference" /> <attr name="menu_labels_hideAnimation" format="reference" /> <attr name="menu_labels_paddingTop" format="dimension" /> <attr name="menu_labels_paddingLeft" format="dimension" /> <attr name="menu_labels_paddingRight" format="dimension" /> <attr name="menu_labels_paddingBottom" format="dimension" /> <attr name="menu_labels_padding" format="dimension" /> <attr name="menu_labels_textColor" format="reference|color" /> <attr name="menu_labels_textSize" format="dimension" /> <attr name="menu_labels_cornerRadius" format="dimension" /> <attr name="menu_labels_showShadow" format="boolean" /> <attr name="menu_labels_colorNormal" format="color" /> <attr name="menu_labels_colorPressed" format="color" /> <attr name="menu_labels_colorRipple" format="color" /> <attr name="menu_labels_position" format="enum"> <enum name="left" value="0" /> <enum name="right" value="1" /> </attr> <attr name="menu_icon" format="reference" /> <attr name="menu_animationDelayPerItem" format="integer" /> <attr name="menu_buttonToggleAnimation" format="reference" /> <attr name="menu_labels_singleLine" format="boolean" /> <attr name="menu_labels_ellipsize" format="enum"> <enum name="none" value="0" /> <enum name="start" value="1" /> <enum name="middle" value="2" /> <enum name="end" value="3" /> <enum name="marquee" value="4" /> </attr> <attr name="menu_labels_maxLines" format="integer" /> <attr name="menu_fab_size" format="enum"> <enum name="normal" value="0" /> <enum name="mini" value="1" /> </attr> <attr name="menu_labels_style" format="reference" /> <attr name="menu_labels_customFont" format="string" /> <attr name="menu_shadowColor" format="color" /> <attr name="menu_shadowRadius" format="dimension" /> <attr name="menu_shadowXOffset" format="dimension" /> <attr name="menu_shadowYOffset" format="dimension" /> <attr name="menu_colorNormal" format="color" /> <attr name="menu_colorPressed" format="color" /> <attr name="menu_colorRipple" format="color" /> <attr name="menu_openDirection" format="enum"> <enum name="up" value="0" /> <enum name="down" value="1" /> </attr> <attr name="menu_backgroundColor" format="color" /> <attr name="menu_fab_label" format="string" /> <attr name="menu_fab_show_animation" format="reference" /> <attr name="menu_fab_hide_animation" format="reference" /> </declare-styleable> <!--Note: fontType is common attribute for MyEditText and MyTextView so we had declare it global --> <attr name="fontType" format="enum"> <enum name="RobotoRegular" value="0" /> <enum name="RobotoLite" value="1" /> <enum name="RobotoMedium" value="2" /> <enum name="RobotoBold" value="3" /> </attr> <!--MyEditText--> <declare-styleable name="MyEditText"> <attr name="disableEmoticons" format="boolean" /> <attr name="fontType" /> </declare-styleable> <!--MyTextView--> <declare-styleable name="MyTextView"> <attr name="fontType" /> </declare-styleable> </resources>
2) colors.xml================================<?xml version="1.0" encoding="utf-8"?><resources> <color name="colorPrimary">#1C1C1C</color> <color name="colorPrimaryDark">#1C1C1C</color> <color name="colorAccent">#585858</color> <color name="white">#FFFFFF</color> <color name="black">#000000</color> <color name="blue_next_button">#00A0E8</color> <color name="blue_lite">#3b5998</color> <color name="blue_dark">#2b406e</color> <color name="light_grey">#F6F6F6</color> <color name="dark_grey">#979797</color> <color name="darker_grey">#565656</color> <color name="darkerer_grey">#585858</color> <color name="dark_gray_like">#525252</color> <color name="actionBarBgColor">#222222</color> <color name="slidingMenuBgColor">#202427</color> <color name="divider_menu">#33cdcdcd</color> <color name="menu_selected_color">#00A0E8</color> <color name="white_dark">#979797</color> <color name="red">#EE3840</color> <color name="bg_follower">#55FFFFFF</color> <color name="bg_follower_strock">#88FFFFFF</color> <color name="gray_comment_box_color">#ebebeb</color> <!--Action bar--> <color name="hintColorSearchActionBar">#808080</color> <!--Selector colors--> <color name="highlightWhiteColor">#80FFFFFF</color> <color name="highlightPressWhiteColor">#42FFFFFF</color> <color name="highlightBlackColor">#80000000</color> <color name="highlightPressBlackColor">#42000000</color> <!--Invite Friend screeen--> <color name="edtSearchTextColor">#585858</color> <color name="btnInviteNormalColor">#00A0E8</color> <color name="btnInviteSelectedColor">@android:color/white</color> <!--Edit Porfile screen--> <color name="edtProfileTextColor">#565656</color> <!--Spot Detail--> <color name="txtNormalColor">#585858</color> <color name="txtSelectedColor">#00A0E8</color> <!--Search Screen Detail--> <color name="tabBackgroundColor">#F8F8F8</color> <color name="tabTextColorSelected">#00A0E8</color> <color name="tabTextColorNormal">#CBCBCB</color> <color name="tabDividerColor">#CCCCCC</color> </resources>3) dimens.xml================================<resources> <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> <!--FAB Menu--> <dimen name="fab_size_normal">56dp</dimen> <dimen name="fab_size_mini">40dp</dimen> <dimen name="labels_text_size">14sp</dimen> <integer name="maxLengthSpotName">25</integer> <integer name="maxLengthSpotDesc">160</integer> <dimen name="dp05">0.5dp</dimen> <dimen name="dp1">1dp</dimen> <dimen name="dp2">2dp</dimen> <dimen name="dp3">3dp</dimen> <dimen name="dp5">5dp</dimen> <dimen name="dp6">6dp</dimen> <dimen name="dp7">7dp</dimen> <dimen name="dp8">8dp</dimen> <dimen name="dp9">9dp</dimen> <dimen name="dp10">10dp</dimen> <dimen name="dp11">11dp</dimen> <dimen name="dp12">12dp</dimen> <dimen name="dp14">14dp</dimen> <dimen name="dp15">15dp</dimen> <dimen name="dp16">16dp</dimen> <dimen name="dp20">20dp</dimen> <dimen name="dp22">22dp</dimen> <dimen name="dp25">25dp</dimen> <dimen name="dp27">27dp</dimen> <dimen name="dp30">30dp</dimen> <dimen name="dp32">32dp</dimen> <dimen name="dp33">33dp</dimen> <dimen name="dp35">35dp</dimen> <dimen name="dp36">36dp</dimen> <dimen name="dp37">37dp</dimen> <dimen name="dp38">38dp</dimen> <dimen name="dp39">39dp</dimen> <dimen name="dp40">40dp</dimen> <dimen name="dp43">43dp</dimen> <dimen name="dp45">45dp</dimen> <dimen name="dp50">50dp</dimen> <dimen name="dp52">52dp</dimen> <dimen name="dp55">55dp</dimen> <dimen name="dp60">60dp</dimen> <dimen name="dp65">65dp</dimen> <dimen name="dp67">67dp</dimen> <dimen name="dp70">70dp</dimen> <dimen name="dp73">73dp</dimen> <dimen name="dp75">75dp</dimen> <dimen name="dp76">76dp</dimen> <dimen name="dp80">80dp</dimen> <dimen name="dp85">85dp</dimen> <dimen name="dp100">100dp</dimen> <dimen name="dp110">110dp</dimen> <dimen name="dp117">117dp</dimen> <dimen name="dp116">116dp</dimen> <dimen name="dp136">136dp</dimen> <dimen name="dp170">170dp</dimen> <dimen name="dp180">180dp</dimen> <dimen name="dp185">185dp</dimen> <dimen name="dp190">190dp</dimen> <dimen name="dp200">200dp</dimen> <dimen name="dp203">203dp</dimen> <dimen name="dp220">220dp</dimen> <dimen name="dp230">230dp</dimen> <dimen name="dp130">130dp</dimen> <dimen name="dp90">90dp</dimen> <dimen name="dp240">240dp</dimen> <dimen name="dp270">270dp</dimen> <dimen name="dp280">280dp</dimen> <dimen name="dp150">150dp</dimen> <dimen name="dp120">120dp</dimen> <dimen name="dp300">300dp</dimen> <dimen name="dp315">315dp</dimen> <dimen name="dp320">320dp</dimen> <dimen name="dp340">340dp</dimen> <dimen name="dp166">166dp</dimen> <dimen name="sp7">7sp</dimen> <dimen name="sp8">8sp</dimen> <dimen name="sp9">9sp</dimen> <dimen name="sp10">10sp</dimen> <dimen name="sp11">11sp</dimen> <dimen name="sp12">12sp</dimen> <dimen name="sp13">13sp</dimen> <dimen name="sp14">14sp</dimen> <dimen name="sp16">16sp</dimen> <dimen name="sp17">17sp</dimen> <dimen name="sp15">15sp</dimen> <dimen name="sp18">18sp</dimen> <dimen name="sp20">20sp</dimen> <dimen name="sp22">22sp</dimen> <dimen name="sp23">23sp</dimen> <dimen name="sp24">24sp</dimen> <dimen name="sp26">26sp</dimen> <dimen name="ap27">27sp</dimen> <dimen name="sp28">28dp</dimen> <dimen name="sp30">30dp</dimen> <dimen name="sp32">32dp</dimen> <dimen name="sp34">34dp</dimen> <dimen name="sp36">36dp</dimen> <dimen name="sp38">38dp</dimen> <!--Actionbar layout--> <dimen name="actionbarHeight">56dp</dimen> <!--default actionBarSize = 56--> <dimen name="imgActionbarWidth">45dp</dimen> <dimen name="txtActionbarTextSize">18sp</dimen> <dimen name="txtActionbarButtonTextSize">16sp</dimen> </resources>4) ids.xml================================<?xml version="1.0" encoding="utf-8"?><resources> <item name="item_click_support" type="id" /> <!--FAB Menu--> <item name="fab_label" type="id"/> </resources>5) strings.xml================================<resources> <string name="app_name">Eppico</string> <!--Shahrukh PC--> <string name="baseURL">http://192.168.1.51/eppico/api/web/index.php/v1/</string> <!--<string name="baseURL">http://52.66.4.199/eppico/api/web/index.php/v1/</string>--> <!--Shreyansh PC--> <!--<string name="baseURL">http://192.168.1.239/eppico/api/web/index.php/v1/</string>--> <!--<string name="baseURL">http://dev.credencys.com/eppico/api/web/index.php/v1/</string>--> <!--<string name="baseURL">http://dev.credencys.com/eppico/api/web/index.php/v1/</string>--> <!--Facebook Key: UserName: demo.credencys@gmail.com Password: credencys007--> <string name="facebook_app_id">964845253621994</string> <!--Google Map Key UserName: demo.credencys@gmail.com Password: credencys007--> <string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">AIzaSyBHhk-XiTvAi7noJ8HYsVgDqM6MXIkbrks</string> <!--Font Names--> <array name="fontNames"> <item>Roboto-Regular_3.ttf</item> <item>Roboto-Light_3.ttf</item> <item>Roboto-Medium_3.ttf</item> <item>Roboto-Bold_3.ttf</item> </array> <!--Date format--> <string name="dateFormatOfApp">dd MMMM, yyyy</string> <string name="dateFormatOfAPI">dd-MM-yyyy HH:mm:ss</string> <!--Directory Names--> <string name="dirSettings">Settings</string> <string name="dirMedia">Media</string> <string name="dirImages">Images</string> <string name="dirVideos">Videos</string> <!--Progress dialog message--> <string name="msgLoading">Loading...</string> <string name="msgFetchingData">Fetching data</string> <string name="msgGettingLocation">Getting location</string> <string name="txtLoading">Loading...</string> <!--Dialog buttons--> <string name="btnYes">Yes</string> <string name="btnNo">No</string> <string name="btnOk">Ok</string> <string name="btnCancel">Cancel</string> <string name="btnUnfollow">Unfollow</string> <!--ActionBar Text--> <string name="actionBarNext">NEXT</string> <string name="actionBarDone">DONE</string> <string name="actionBarSave">SAVE</string> <integer name="drawerAnimationDuration">300</integer> <!--Request Code--> <integer name="reqCodeLogin">101</integer> <integer name="reqCodeCategory">102</integer> <integer name="reqCodeRadius">103</integer> <integer name="reqCodeCreateSpot">104</integer> <integer name="reqCodeInviteSpot">105</integer> <integer name="reqCodeInviteSearch">106</integer> <integer name="reqCodeGetAppUserList">107</integer> <integer name="reqCodeSearchAppUser">108</integer> <integer name="reqCodeSpotDetail">109</integer> <integer name="reqCodeInviteFriends">110</integer> <integer name="reqCodeCheckInUser">111</integer> <integer name="reqCodeAddPost">112</integer> <integer name="reqCodeCheckedInSpot">113</integer> <integer name="reqCodeLogout">115</integer> <integer name="reqCodePostDetail">114</integer> <integer name="reqCodeReportAbuse">115</integer> <integer name="reqCodePostDelete">116</integer> <integer name="reqCodeProfileDetail">117</integer> <integer name="reqCodeEditProfile">118</integer> <integer name="reqCodeAddComment">119</integer> <integer name="reqCodeCommentList">120</integer> <integer name="reqCodeMySpot">121</integer> <integer name="reqCodeEditSpot">122</integer> <integer name="reqCodeFollowSpot">123</integer> <integer name="reqCodeDeleteComment">124</integer> <integer name="reqCodeGetFollowersList">125</integer> <integer name="reqCodeFollowUser">126</integer> <integer name="reqCodeGetFollowingSpotList">127</integer> <integer name="reqCodeUserFollowersList">128</integer> <integer name="reqCodeLikepost">129</integer> <integer name="reqCodeLeaderShipBoard">130</integer> <integer name="reqCodeSearchSpot">131</integer> <integer name="reqCodeLeaderShipBoardUser">132</integer> <integer name="reqCodeSearchUser">132</integer> <!--Bundle params--> <string name="extraCreateSpotObj">createSpotObj</string> <!--<string name="inviteSpotID">inviteSpotId</string>--> <!--<string name="postID">postId</string>--> <!--<string name="spotID">spotID</string>--> <!--<string name="mediaID">mediaID</string>--> <string name="extraIsActive">IsActive</string> <string name="extraMediaId">mediaId</string> <string name="extraPostId">postId</string> <string name="extraSpotListType">spotListType</string> <string name="extraSpotId">spotId</string> <string name="extraSpotModel">spotModel</string> <string name="extraFromScreen">fromScreen</string> <string name="extraLeaderShipType">leaderShipType</string> <string name="extraFollowListType">followListType</string> <string name="extraBigImage">BigImage</string> <string name="extraUserId">userId</string> <string name="extraCMSPageId">cmsPageId</string> <!--Glide tag id--> <string name="tagId">tagId</string> <!--Common Variables and messages--> <integer name="userType">2</integer> <!--1= WebUser 2= Mobile User--> <integer name="deviceType">0</integer> <!--0= Android and 1= IOS--> <string name="strComingSoon">Coming soon</string> <string name="profileImageUrlFB">https://graph.facebook.com/%s/picture?type=large</string> <string name="msgInternetConnectionNotAvailable">Please check your internet connection and try again..! </string> <string name="msgProblemWithRequest">Response Timeout..! Please try again later.</string> <string name="msgEmoticonsNotAllowed">Emoticons are not allowed</string> <!--Request Error message--> <string name="statusCode400">Bad request</string> <string name="statusCode401">Unauthorized</string> <string name="statusCode403">Forbidden</string> <string name="statusCode500">Internal server error</string> <string name="statusCode502">Bad Gateway</string> <string name="statusCode504">Gateway time out</string> <string name="statusCode521">Web server is down</string> <string name="statusCode522">Connection timed out</string> <string name="statusCode524">Timeout occurred</string> <!--preference variable--> <string name="prefAuthKey">authKey</string> <string name="pref_is_login">PREF_IS_LOGIN</string> <string name="prefDeviceToken">deviceToken</string> <string name="prefUserLatitude">userLatitude</string> <string name="prefUserLongitude">userLongitude</string> <string name="prefLoginUserData">loginhUserData</string> <string name="prefAddress">userAddress</string> <!--Login Screen--> <string name="spot_where_you_are">Spot where you are</string> <string name="and_share_your_presence">and share your presence \n with your friend</string> <string name="sign_in_with_facebook">Sign in with Facebook</string> <string name="msgNotLoginWithoutLocation">You can\'t login wihtout enable location. Please enable location.</string> <string name="msgEnableStoragePermission">Enable storage permission to login</string> <!--menu--> <string name="home_feeds">Home Feeds</string> <string name="search">Search</string> <string name="create_new_spot">Create a new spot</string> <string name="invited_spots">Invited Spots</string> <string name="my_spots">My Spots</string> <string name="following_spots">Following Spots</string> <string name="popular_spots">Popular Spots</string> <string name="notifications">Notifications</string> <string name="settings">Settings</string> <!--Screen Titles--> <string name="screenTitleHomeFeeds">Home Feeds</string> <string name="screenTitleSearch">Search</string> <string name="screenTitleInvitedSpot">Invited Spots</string> <string name="screenTitleMySpot">My Spots</string> <string name="screenTitleInviteFriends">Invite Friends</string> <string name="screenTitleCreateNewSpot">Create a New Spot</string> <string name="screenTitleEditProfile">Edit Profile</string> <string name="screenTitleAddPost">Add Post</string> <string name="screenTitleSettings">Settings</string> <string name="screenTitleEditSpotDetails">Edit Spot Details</string> <string name="screenTitleCheckInUser">Check In Users</string> <string name="screenTitleFollowers">Followers</string> <string name="screenTitleFollowing">Following</string> <string name="screenTitlePrivacyPolicy">Privacy Policy</string> <string name="screenTitleTermsCondition">Terms & Conditions</string> <string-array name="menu_items"> <item>Home Feeds</item> <item>Search</item> <item>Create a new spot</item> <item>Invited Spots</item> <item>My Spots</item> <item>Following Spots</item> <item>Popular Spots</item> <item>Notifications</item> <item>Settings</item> </string-array> <integer-array name="menu_icons"> <item>@mipmap/ic_home</item> <item>@mipmap/ic_search</item> <item>@mipmap/ic_create_spot</item> <item>@mipmap/ic_invited_spot</item> <item>@mipmap/ic_my_spots</item> <item>@mipmap/ic_following_spot</item> <item>@mipmap/ic_popular_spot</item> <item>@mipmap/ic_notification</item> <item>@mipmap/ic_settings</item> </integer-array> <integer-array name="menu_icons_selected"> <item>@mipmap/ic_home_press</item> <item>@mipmap/ic_search_press</item> <item>@mipmap/ic_create_spot_press</item> <item>@mipmap/ic_invited_spot_press</item> <item>@mipmap/ic_my_spots_press</item> <item>@mipmap/ic_following_spot_press</item> <item>@mipmap/ic_popular_spot_press</item> <item>@mipmap/ic_notification_press</item> <item>@mipmap/ic_settings_press</item> </integer-array> <string name="navigation_drawer_open">NavigationDrawerOpen</string> <string name="navigation_drawer_close">NavigationDrawerClose</string> <!--image croping--> <string name="btn_cancel">Cancel</string> <string name="btn_save">Save</string> <string name="msgFailedToLoadImage">Failed to load image!</string> <string name="msgImageCropFailed">Image crop failed</string> <!--create spot--> <string name="hintSpotName">Spot Name</string> <string name="hintDescription">Description</string> <string name="category">Category</string> <string name="radius">Radius</string> <string name="spot_created_successfully">Spot created successfully</string> <string name="please_enter_spot_name">Please enter spot name</string> <string name="please_enter_spot_desc">Please enter spot description</string> <string name="please_choose_picture">Please select spot image</string> <string name="please_select_category">Please select category</string> <string name="please_select_radius">Please select radius</string> <string name="unable_to_load_image">Unable to load image. Please try again!</string> <string name="msgEnableLocationPermissionToCreateNewSpot">Enable location permission to create new spot</string> <string name="msgEnableGPSToCreateNewSpot">Your GPS seems to be disabled. Please enable it to create new spot.</string> <string name="no_category_available">Seems that categories are not available..! Please try after some times</string> <string name="no_redius_available">Seems that Radius is not available..! Please try after some times.</string> <!--Edit Spot screen--> <string name="txtStatus">Status</string> <string name="radioBtnActive">Active</string> <string name="radioBtnInActive">Inactive</string> <string name="spotUpdateSuccessfully">Spot details successfully updated.</string> <string name="msgConfirmInactiveSpot">Are you sure you want to inactive this spot?</string> <!--inviteSpot--> <string name="championship">Championship</string> <string name="posted_on">Posted on</string> <string name="noSpotFound">No spot found.</string> <string name="hintSearchSpot">Search spot here</string> <!--invite spot detail--> <string name="msgFileSize">File size should be less than or equlal to 2MB</string> <string name="msgNoPostFound">Opps...!! No Posts found.</string> <string name="msgVideoLimit">You can post 30 sec video</string> <string name="txtDesc">Description</string> <!--Invite friends--> <string name="strInviteAll">Invite all</string> <string name="btnInvite">Invite</string> <string name="btnInvited">Invited</string> <string name="btnInviting">Inviting</string> <string name="btnFacebookFriends">Facebook\nFriends</string> <string name="txtAppUsers">Application Users</string> <string name="hintSearchUser">Search user here</string> <string name="noUserFound">No users found.</string> <string name="enterSearchText">Please enter search text</string> <string name="msgSpotInvitationSent">Hurray..!! Your Spot is created and Invitation has been sent to the selected friends..</string> <string name="msgSpotInvitationSentDetail">Invitation successfully sent to the selected friends..!!</string> <string name="selectFriend">Please select friend</string> <!--post detail--> <string name="post_detail_title">Post Details</string> <string name="write_comment">Write a Comment</string> <string name="view_all_comment">View All Comments</string> <string name="extraPostMediaPath">postMediaPath</string> <string name="extraPostMediaType">postMediaType</string> <string name="selectPostImage">Please select post image</string> <string name="enterPostDescription">Please enter post description</string> <string name="enableGPSToAddPost">Your GPS seems to be disabled. Please enable it to add Post.</string> <string name="allowLocatonPermissionToAddPost">Please allow location permission to add post</string> <string name="msgGotoSpotLocation">Please go to spot location to do check-in of the post</string> <string name="msgFileNotFound">File not found</string> <string name="leaderShip">Leader Ship</string> <string name="msgConfirmDeletePost">Are you sure, You want to delete this post ?</string> <string name="msgConfirmDeleteComment">Are you sure, You want to delete this comment ?</string> <string name="postDeleteSuccessfully">Your Post has been successfully deleted.</string> <string name="be_the_leader_by_adding_posts">Be the Leader by adding Posts in your favourite Spots..!</string> <string name="msgSpotIsInactive">Oopps..!! Seems that Spot is inactivated..! Please check other interesting Spots</string> <!--reportAbuse--> <string name="ok">Ok</string> <string name="cancel">Cancel</string> <string name="dialogTitleReportAbus">Report Abuse</string> <string name="please_enter_description">Please enter description </string> <!--comment--> <string name="please_add_comment">Please add comment</string> <string name="comment_added_successfully">Comment added successfully</string> <string name="circle">\u2022 </string> <string name="delete">Delete</string> <string name="comment">comment</string> <string name="post">post</string> <string name="just_now">just now</string> <plurals name="minuteAgo"> <item quantity="one">minute ago</item> <item quantity="other">minutes ago</item> </plurals> <plurals name="hourAgo"> <item quantity="one">hour ago</item> <item quantity="other">hours ago</item> </plurals> <plurals name="dayAgo"> <item quantity="one">day ago</item> <item quantity="other">days ago</item> </plurals> <!--<string name="minute_ago">minute ago</string> <string name="minutes_ago">minutes ago</string> <string name="hour_ago">hour ago</string> <string name="hours_ago">hours ago</string> <string name="day_ago">day ago</string> <string name="days_ago">days ago</string>--> <string name="you_have_alredy_report_abuse_this_post">You already submited the abuse request for this post..!</string> <string name="be_the_first_to_add_comment">Be the first to post comments on your favourite post..!</string> <!--Time related variables--> <string name="strYear">year</string> <string name="strMonth">month</string> <string name="strDay">day</string> <string name="strHour">hour</string> <string name="strMinute">minute</string> <string name="strSecond">second</string> <string name="strS">s</string> <string name="strAgo">ago</string> <string name="strJustNow">just now</string> <!--profile fragment--> <string name="my_profile_title">My Profile</string> <string name="other_profile_title">Profile</string> <string name="followers">Followers</string> <string name="following">Following</string> <string name="edit">Edit</string> <string name="btnLeadershipBoard">Leadership Board</string> <string name="btnFollowSpotDetail">Follow</string> <string name="btnFollowingSpotDetail">Following</string> <string name="btnInviteFriends">Invite Friends</string> <string name="post_id_not_available">Post id is not available</string> <string name="report_abuse_successfully">No Worries..! Your message has been reported successfully. We will look into it.</string> <!--Edit Profile--> <string name="hintName">Name</string> <string name="first_name">First name</string> <string name="last_name">Last name</string> <string name="profile_updated_successfully">Profile updated successfully</string> <string name="please_enter_first_name">Please enter first name</string> <string name="please_enter_last_name">Please enter last name</string> <string name="please_select_image">Please select your profile picture</string> <!--Check in user list--> <string name="hintSearchCheckInUser">Search check in user here</string> <string name="btnFollow">Follow</string> <string name="btnFollowing">Following</string> <!--Followers list--> <!--Settings screen--> <string name="txtPushNotification">Push Notification</string> <string name="txtPrivacyPolicy">Privacy Policy</string> <string name="txtTermsCondition">Terms & Conditions</string> <string name="txtContactUs">Contact Us</string> <string name="txtSignOut">Sign Out</string> <string name="msgLogoutAlert">Are you sure you want to logout?</string> <!--leadership_board--> <string name="leader_ship_board">Leadership Board</string> <!--championship_board--> <!--<string name="champion_ship_board">Championship Board</string>--> <!--Following--> <string name="by">By:</string> <!--Add Post Screen--> <string name="msgVideoUploading">Wait for a while..!! Your video is uploading..</string> <string name="msgImageUploading">Wait for a while..!! Your image is uploading..</string> <string name="postAddedSuccessfully">Hurray..!! Your Post has been Added..!</string> <string name="msgPostToFacebook">Do you want to share it on Facebook?</string> <string name="you_have_alredy_like_this_post">You have already liked this post!</string> <!--Search Screen--> <array name="searchTabNames"> <item>Spots</item> <item>People</item> </array> </resources>6) styles.xml================================<resources xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> </style> <style name="DialogTheme" parent="@android:style/Theme.Holo.Dialog"> <!-- <item name="android:windowBackground">@android:color/holo_red_dark</item> --> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:windowNoTitle">true</item> </style> <style name="AppTheme.NoActionBar"> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> <item name="android:windowDisablePreview">true</item> <item name="android:windowBackground">@null</item> </style> <style name="SpinnerColor" parent="Base.Widget.AppCompat.Spinner"> <item name="android:spinnerDropDownItemStyle">@mipmap/ic_down_arrow</item> </style> <style name="CommonTextInputLayout" parent="@style/TextAppearance.AppCompat"> <item name="android:textColor">@color/dark_grey</item> </style> <style name="FullscreenTheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="android:windowContentOverlay">@null</item> <item name="android:windowBackground">@null</item> </style> <!--FAB Menu itmes--> <style name="fabMenuItemStyle"> <item name="fab_colorNormal">#FFFFFF</item> <item name="fab_colorPressed">#E6E6E6</item> <item name="fab_colorRipple">#CCCCCC</item> </style> <!--Create spot screen Styles--> <style name="edtCreateSpotStyle" parent="AppTheme"> <item name="android:textColor">@color/darker_grey</item> <item name="android:textSize">@dimen/sp16</item> <item name="android:maxLines">1</item> <item name="android:inputType">text</item> <item name="android:background">@drawable/textbox</item> <item name="android:gravity">center_vertical</item> <item name="android:textCursorDrawable">@null</item> </style> <!--Invite Friends Styles--> <style name="edtSearchStyle" parent="AppTheme"> <item name="android:textColor">@color/edtSearchTextColor</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:inputType">text</item> <item name="android:imeOptions">actionSearch</item> <item name="android:background">@null</item> <item name="android:gravity">center_vertical</item> <item name="android:padding">0dp</item> <item name="android:maxLength">50</item> </style> <style name="txtInviteFriends" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> </style> <style name="btnFolowStyle" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> <item name="android:gravity">center</item> <!--<item name="android:paddingTop">@dimen/dp5</item>--> <!--<item name="android:paddingBottom">@dimen/dp5</item>--> <!--<item name="android:paddingRight">@dimen/dp20</item>--> <!--<item name="android:paddingLeft">@dimen/dp20</item>--> <item name="android:background">@drawable/btn_invite_normal</item> </style> <style name="btnInviteStyle" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> <item name="android:gravity">center</item> <item name="android:clickable">true</item> <item name="android:padding">@dimen/dp5</item> <!--<item name="android:paddingTop">@dimen/dp5</item>--> <!--<item name="android:paddingBottom">@dimen/dp5</item>--> <!--<item name="android:paddingRight">@dimen/dp20</item>--> <!--<item name="android:paddingLeft">@dimen/dp20</item>--> <item name="android:background">@drawable/btn_invite_normal</item> </style> <style name="txtNoRecordsStyle" parent="AppTheme"> <item name="android:textColor">#222222</item> <item name="android:textSize">@dimen/sp16</item> <item name="android:gravity">center</item> <item name="android:layout_gravity">center</item> <item name="android:padding">@dimen/dp10</item> </style> <!--Edit Profile screen Styles--> <style name="edtEditProfileStyle" parent="AppTheme"> <item name="android:textColor">@color/edtProfileTextColor</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:inputType">text</item> <item name="android:background">@drawable/textbox</item> <item name="android:gravity">center_vertical</item> <item name="android:textCursorDrawable">@null</item> <item name="android:maxLength">20</item> </style> <!--Settings screen--> <style name="txtSettingsScreen" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp16</item> <item name="android:gravity">center_vertical</item> <item name="android:layout_gravity">center</item> <item name="android:padding">@dimen/dp15</item> <item name="android:onClick">clickEvent</item> <item name="android:clickable">true</item> </style> <style name="settingsDividerStyle" parent="AppTheme"> <item name="android:background">#CCCCCC</item> <item name="android:layout_height">@dimen/dp05</item> <item name="android:layout_width">match_parent</item> </style> <style name="txtTabStyle" parent="AppTheme"> <item name="android:textColor">@color/txtNormalColor</item> <item name="android:textSize">@dimen/sp10</item> <item name="android:gravity">center</item> <item name="android:paddingTop">@dimen/dp5</item> <item name="android:paddingBottom">@dimen/dp5</item> </style> <style name="txtdialogStyle" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp16</item> <item name="android:gravity">center</item> <item name="android:layout_gravity">center</item> </style> <!--Profile View--> <style name="txtProfilePopupStyle" parent="AppTheme"> <item name="android:textColor">@color/dark_grey</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:padding">@dimen/dp8</item> <item name="android:gravity">center_vertical</item> <item name="android:drawablePadding">@dimen/dp5</item> </style> <style name="txtLeadership_board" parent="AppTheme"> <item name="android:textColor">#FFFFFF</item> <item name="android:maxLines">2</item> <item name="android:inputType">textMultiLine</item> </style> <style name="txtLeadership_board_item_name" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> </style> <style name="txtFollowingFriends" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp12</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> </style> <style name="btnFollowingStyle" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> <item name="android:gravity">center</item> <item name="android:clickable">true</item> <item name="android:background">@drawable/btn_invite_selected</item> </style> <!--Post detai screen--> <style name="txtLikeCommentStyle" parent="AppTheme"> <item name="android:textColor">@color/dark_gray_like</item> <item name="android:textSize">@dimen/sp11</item> <item name="android:maxLines">1</item> <item name="android:gravity">center</item> <item name="android:background">@drawable/background_selector_black</item> </style> <!--Search Screen--> <style name="tabLayoutStyle" parent="Widget.Design.TabLayout"> <item name="tabGravity">fill</item> <item name="tabMode">fixed</item> <item name="tabIndicatorColor">@color/tabTextColorSelected</item> <!--<item name="tabSelectedTextColor">@color/tabTextColorSelected</item>--> <!--<item name="tabTextColor">@color/tabTextColorNormal</item>--> <!--<item name="tabBackground">@drawable/tab_bottom_shadow</item>--> <item name="tabPaddingEnd">0dp</item> <item name="tabPaddingStart">0dp</item> <item name="tabPaddingBottom">0dp</item> <item name="tabPaddingTop">0dp</item> <!--<item name="tabTextAppearance">@style/tabLayoutTextStyle</item>--> </style> <!--<style name="tabLayoutTextStyle" parent="TextAppearance.Design.Tab"> <item name="android:textSize">14sp</item> <item name="textAllCaps">false</item> </style>--> <!--Following Spot screen--> <style name="txtSpotNameStyle" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp14</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> <item name="fontType">RobotoMedium</item> </style> <style name="txtUserNameDateStyle" parent="AppTheme"> <item name="android:textColor">#585858</item> <item name="android:textSize">@dimen/sp12</item> <item name="android:maxLines">1</item> <item name="android:ellipsize">end</item> <item name="fontType">RobotoLite</item> </style> </resources>*******************************************************881) manifest.xml================================<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.eppico"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-feature android:name="android.hardware.camera" android:required="false" /> <!--<uses-feature--> <!--android:name="android.hardware.camera.autofocus"--> <!--android:required="false" />--> <application android:name=".MyApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme.NoActionBar"> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id" /> <provider android:name="com.facebook.FacebookContentProvider" android:authorities="com.facebook.app.FacebookContentProvider964845253621994" android:exported="true" /> <meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" /> <activity android:name=".activity.SplashActivity" android:screenOrientation="portrait" android:resizeableActivity="false" android:theme="@style/AppTheme.NoActionBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".activity.HomeActivity" android:configChanges="orientation|screenSize|screenLayout" android:screenOrientation="portrait" android:resizeableActivity="false" android:theme="@style/AppTheme.NoActionBar" android:windowSoftInputMode="adjustResize"/> <activity android:name=".activity.LoginActivity" android:screenOrientation="portrait" android:resizeableActivity="false" android:theme="@style/AppTheme.NoActionBar"/> <activity android:name=".activity.ImageCropActivity" android:configChanges="orientation|keyboardHidden|screenSize" android:screenOrientation="portrait" android:resizeableActivity="false" android:theme="@style/FullscreenTheme" /> <activity android:name=".activity.FullScreenViewActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:resizeableActivity="false" android:theme="@android:style/Theme.Dialog" /> <service android:name=".MyFirebaseMessagingService"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT" /> </intent-filter> </service> <service android:name=".MyFirebaseInstanceIDService"> <intent-filter> <action android:name="com.google.firebase.INSTANCE_ID_EVENT" /> </intent-filter> </service> <!--Crashanalytics--> <meta-data android:name="io.fabric.ApiKey" android:value="993ed9e1d47eefbbf8cc725abd3d9322d8b13a3e" /> </application> </manifest>*****************************1)app => gradlebuildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } apply plugin: 'com.android.application'apply plugin: 'io.fabric' repositories { maven { url 'https://maven.fabric.io/public' } } android { compileSdkVersion 25 buildToolsVersion "25.0.0" defaultConfig { applicationId "com.eppico" minSdkVersion 15 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.0.1' compile 'com.facebook.android:facebook-android-sdk:4.+' compile 'com.google.android.gms:play-services-location:9.8.0' compile 'com.android.support:design:25.0.0' testCompile 'junit:junit:4.12' compile 'com.android.support:recyclerview-v7:25.0.1' // Map compile 'com.google.android.gms:play-services-maps:9.8.0' compile 'com.google.firebase:firebase-messaging:9.8.0' //Retrofit compile 'com.google.code.gson:gson:2.6.2' compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'com.squareup.retrofit2:converter-gson:2.1.0' compile 'com.squareup.okhttp3:okhttp:3.3.1' compile 'com.squareup.okhttp3:logging-interceptor:3.3.1' compile 'com.squareup.okhttp3:okhttp-urlconnection:3.3.1' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'org.apache.commons:commons-lang3:3.5' compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') { transitive = true; } compile project(':ffmpeg4android_lib') compile 'com.android.support:design:25.0.1'}2)project =>grale// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }
No comments:
Post a Comment