Pooya1 Active Member Licensed User Apr 25, 2018 #1 Hi I could close activity with touch from left to right Actually you can Down touch in left activity and move to right and activity closed My code have two problem only That it is not sharp moving activity when i touch and move my finger and how show titlebar while i need transparent activity? Please see source code and say your suggestion and develop it I add SetActivityAttribute(actb, android:theme, @android:style/Theme.Translucent.NoTitleBar) to manifest and add panel to activity with gray color and when i move panel,the previous activity seen I attach gif for it Attachments test.zip test.zip 8.8 KB · Views: 481
Hi I could close activity with touch from left to right Actually you can Down touch in left activity and move to right and activity closed My code have two problem only That it is not sharp moving activity when i touch and move my finger and how show titlebar while i need transparent activity? Please see source code and say your suggestion and develop it I add SetActivityAttribute(actb, android:theme, @android:style/Theme.Translucent.NoTitleBar) to manifest and add panel to activity with gray color and when i move panel,the previous activity seen I attach gif for it
DonManfred Expert Licensed User Longtime User Apr 25, 2018 #2 Pooya1 said: Please see source code Click to expand... WHICH source code? Upvote 0
DonManfred Expert Licensed User Longtime User Apr 25, 2018 #3 Pooya1 said: and add panel to activity with gray color and when i move panel,the previous activity seen Click to expand... NO. It is the SAME Activity where you add the Panel. Upvote 0
Pooya1 said: and add panel to activity with gray color and when i move panel,the previous activity seen Click to expand... NO. It is the SAME Activity where you add the Panel.
Pooya1 Active Member Licensed User Apr 25, 2018 #4 DonManfred said: WHICH source code? Click to expand... Sorry i attach it now Upvote 0
DonManfred Expert Licensed User Longtime User Apr 25, 2018 #5 This causes your activity to be Transparent. Code: Copy Activity.Color = Colors.Transparent Upvote 0
Pooya1 Active Member Licensed User Apr 25, 2018 #6 DonManfred said: This causes your activity to be Transparent. Code: Copy Activity.Color = Colors.Transparent Click to expand... Yes i need to it for see previous activity look like Telergram Upvote 0
DonManfred said: This causes your activity to be Transparent. Code: Copy Activity.Color = Colors.Transparent Click to expand... Yes i need to it for see previous activity look like Telergram
DonManfred Expert Licensed User Longtime User Apr 25, 2018 #7 Telegram is using Fragments to show content over an Activity. Add a Panel to the Activity which you want to have in behind instad of starting a new Activity. Using Activities it will not work the way you are expecting. Upvote 0
Telegram is using Fragments to show content over an Activity. Add a Panel to the Activity which you want to have in behind instad of starting a new Activity. Using Activities it will not work the way you are expecting.
Pooya1 Active Member Licensed User Apr 25, 2018 #8 DonManfred said: Telegram is using Fragments to show content over an Activity. Add a Panel to the Activity which you want to have in behind instad of starting a new Activity. Using Activities it will not work the way you are expecting. Click to expand... Yes i know Ok this problem solved Do you can help me about sharp movement panel ?(without lag) Upvote 0
DonManfred said: Telegram is using Fragments to show content over an Activity. Add a Panel to the Activity which you want to have in behind instad of starting a new Activity. Using Activities it will not work the way you are expecting. Click to expand... Yes i know Ok this problem solved Do you can help me about sharp movement panel ?(without lag)
DonManfred Expert Licensed User Longtime User Apr 25, 2018 #9 Pooya1 said: Ok this problem solved Click to expand... fine. Pooya1 said: Do you can help me about sharp movement panel ?(without lag) Click to expand... 1. You ALWAYS should start a NEW Thread for any new Question. 2. No Upvote 0
Pooya1 said: Ok this problem solved Click to expand... fine. Pooya1 said: Do you can help me about sharp movement panel ?(without lag) Click to expand... 1. You ALWAYS should start a NEW Thread for any new Question. 2. No
Pooya1 Active Member Licensed User Apr 25, 2018 #10 DonManfred said: fine. 1. You ALWAYS should start a NEW Thread for any new Question. 2. No Click to expand... 1. OK i start new Thread but i dont know what i ask? 2. You are big man Upvote 0
DonManfred said: fine. 1. You ALWAYS should start a NEW Thread for any new Question. 2. No Click to expand... 1. OK i start new Thread but i dont know what i ask? 2. You are big man